ursus
05/07/2019, 9:07 PMBMG
05/09/2019, 4:25 AMdata class Model(val list: List<Item>, val selectedIndex: Int). So, here, I would just update the selectedIndex and return the model without touching the list.BMG
05/09/2019, 4:27 AMnotify* methods if there is any change in list from the model. (In the above case, it would not touch the list)ursus
05/09/2019, 6:19 AMBMG
05/09/2019, 6:54 AMrender(oldModel: Model, newModel: Model), I will diff it manually for those cases.ursus
05/09/2019, 7:03 AM