Focus requesters were stored in snapshot-state maps and written during composition of every list item: each write invalidated the reading scope, which recomposed the (whole page of) items, wrote again, ... This feedback loop is why vertical scrolling ran at ~2fps on the TV while the same build scrolled fine in the emulator's short bursts. Plain HashMaps kill the loop - focus handling needs no recomposition. |
||
|---|---|---|
| .. | ||
| src/main | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||