I am facing a problem with sending data through the bundle.
Intent toAudio = new Intent(TourDescription.this, Audio.class);
toAudio.putParcelableArrayListExtra("poi", arraypoi);
startActivity(toAudio);
here am sending arraypoi
which is an ArrayList. This ArrayList contains a set of values.
And in the receiving class, I have like this
listOfPOI = getIntent().getParcelableArrayListExtra("poi");
Collections.sort(listOfPOI);
where listOfPOI
is also an array list.
The problem am facing is, I am not able to receive values for 3 particular variables in listOfPOI
(coming as null
), rest all values are coming proper.
While sending the bundle, I mean in arraypoi
also I am able to send all the values correctly but the problem is while receiving it.
Note: My class is implemented as parcelable
only.
Any answer for this?