Help passing an ArrayList of Objects to a new Activity

前端 未结 10 2143
眼角桃花
眼角桃花 2020-11-28 08:53

I have an arraylist of objects. ie ArrayList.

I want to pass this to a new Activity. I tried to use putParcelableArrayList but it has issues with the object. I remov

10条回答
  •  有刺的猬
    2020-11-28 09:28

    You can use a public static field in some of your classes.

    See here for more advices.

提交回复
热议问题