I tried with intent of intent.putExtra("listname", list) and shared preferance list.But it doesnot give the actual result. Help me out of this
Intent intent=new Intent(HotelSearch.this, HotelSearchResults.class); intent.putExtra("listname", list);
secondactivity:
hotelsearchresult=(ArrayList)intent.getSerializableExtra("listname");