I have an ArrayList<Location> and ArrayList<Long> that i want to pass it to a new Activity which will use these to write to a GPX file. The GPX file writing is not the problem but within the new Activity will add other information to the file so the two ArrayList<> will be needed to be passed to it.
I have an ArrayList<Location> and ArrayList<Long> that i want to pass it to a
Share
No, you need to use Parcelable. You can’t use bundle to pass ArrayList of data.