public class ListViewActivity extends Activity { // Log tag private static final String TAG = ListViewActivity.class.getSimpleName(); // change here url of server api private static final String url = "https://comida-95724.herokuapp.com/api/vl/restaurants/get_featured_restaurants"; private ProgressDialog pDialog; private List movieList = new ArrayList(); private ListView listView; private CustomListAdapter adapter; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_listview); listView = (ListView) findViewById(R.id.list); adapter = new CustomListAdapter(this, movieList); listView.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView parent, View view, int position, long id) { Movie movie = movieList.get(position); Intent intent = new Intent(ListViewActivity.this, SecondActivity.class);