birkir / react-native-carplay

CarPlay with React Native
https://birkir.dev/react-native-carplay/
MIT License
629 stars 104 forks source link

Need help. How to handle ListTemplate? #136

Closed alex-vasylchenko closed 1 year ago

alex-vasylchenko commented 1 year ago

Can onItemSelect accept an entire item instead of just an index? The issue arises when updateSections needs to be followed by updating onItemSelect, which seems to be challenging (or at least I haven't found a way to do it). So, I must create a new template. However, there are complications in updating the currently focused template since it's unknown which template is currently in focus; it could be the list or something else.