Brian Gardner
04/28/2020, 1:32 PMstate{} to wrap the list but the AdapterList is still not updating when I change the data. I tried both ReferentiallyEqual and StructurallyEqual for the state parameter. I also tried moving the state down to the individual row views themselves. This does cause the row to update when the user interacts with it but if the item scrolls off screen and comes back on then it is composed with the old state since nothing told the list component to change the state. I'll do some digging into React to see what their best practices are for dealing with list stateBrian Gardner
04/28/2020, 1:38 PMBrian Gardner
04/28/2020, 1:40 PMAndrew Neal
04/28/2020, 1:46 PMThis makes the scrolling workYour
AdapterList wasn't scrolling at all?Brian Gardner
04/28/2020, 1:47 PMAdapterList is scrolling (I'm currently on dev09) but my workaround keeps the row state the same when it scrolls off the screen then back onAndrew Neal
04/28/2020, 1:57 PMdev10 release tomorrow. I know there are some updates to the way AdapterList disposes views offscreen in it, there was a commit in aosp within the last couple of weeks.Brian Gardner
04/28/2020, 1:58 PMLeland Richardson [G]
04/28/2020, 3:57 PM