am trying to pass an arrylist from one intent to another.
My code is as follows:
intent.putExtra("near_places", nearPlaces);
intent.putExtra("nearby", nearbylist);
and at the new intent i do this:
nearPlaces = (PlacesList) extras.getSerializable("near_places");
nearbylist = (ArrayList<FsqVenue>)extras.getArrayList("nearby");
the code for the firat is correct but for the second it shows me errors where fsqVenue is a class
please help me
first make sure FsqVenue class implements
Serializableinterface then use this code for getting ArrayList in other Activity :