How to store/retrieve custom ArrayList object which we use for recyclerview ?
AbuzarJan opened this issue · comments
Abuzar Ahmadi commented
Brian Yencho commented
That all depends on what you are using as your SavedStateHandler
. If you calling into something like https://github.com/evernote/android-state , then you'd do something like this:
@State
var dataList: ArrayList<Data> = ArrayList()
where Data
(or whatever your model would be) is required to be Parcelable
.
Brian Yencho commented
@AbuzarJan I'm going to close this issue. Let me know if there are still questions about it. Take a look at the sample, too, if you are just having issues getting Bridge
set up.