How to make a class with nested objects Parcelable

前端 未结 7 733
梦如初夏
梦如初夏 2020-12-04 12:08

I\'d like to make class A Parcelable.

public class A {
    public String str;
    public ArrayList list;
}

This is what I\'ve come

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-04 13:10

    Just press ALT+ENTER and replace Parcelable it will implement all the necessary implementation

提交回复
热议问题