I am trying to pass arraylist between fragments in Android development. This is the part where I tried to pass Transaction array list to another fragment:
sw
1.You can either pass it by converting into json as specified by @Bhupat.
2.Another way is you make your Transaction class parcelable and the use
b.putParcelableArrayList("list",your_list);
for getting list
your_list = getArguments().getParcelableArrayList("list");
EDIT you have too sepcigy type token for getting it back
transactionlist = new Gson().fromJson(str, new TypeToken>);
In your case new TypeToken
>