https://kotlinlang.org logo
#orbit-mvi
Title
# orbit-mvi
k

kenkyee

10/15/2021, 11:00 AM
Question for folks using this in production...how do you handle savedstate (for app resurrection) when you only want to save part of your state but your screen state includes large lists of items? E.g. saving the paging offset of an infinite scroll list... You can't just mark your entire state class as parcelable because that would include your item list.
o

Oleksii Malovanyi

10/15/2021, 12:15 PM
@IgnoredOnParcele
k

kenkyee

10/15/2021, 12:16 PM
you can't put it on values in the data class constructor...and what I really want is the inverse of it like what MvRx/mavericks provides (@PersistState) to tag the fields that should be preserved in savedstate
5 Views