hard20 pts · first answer countscross-platform-mobilereact-nativelists
Selected row does not highlight
A FlatList's renderItem reads a `selectedId` state that lives outside `data`. Tapping a row updates selectedId, but no row changes colour. What is missing?
Discussion 0
Join free to post in the discussion.
Related questions
- Showing a long listMobile App Developer
- Why list items need keysMobile App Developer
- Calling setCount twiceMobile App Developer
- Showing 5,000 ordersMobile App Developer
- Dart final versus constMobile App Developer
- What a BuildContext isMobile App Developer
- Reading the screen widthMobile App Developer
- Expanded inside a RowMobile App Developer