Repository navigation
|
Hi, and inside each RemoteCtlCarouselItem (that display a picture of a remote controller) I am instantiating a class to manage the androidtv remote like this:: The problem is all the rendered item are mounted and all the classes are instantiated but what I would like is to instantiate the class only when the rendered item is displayed the first time. |
Answered by
vricosti
Feb 22, 2025
Replies: 1 comment
|
Finally I used handleSnapToItem with a isVisible prop: |
0 replies
Answer selected by
vricosti
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Finally I used handleSnapToItem with a isVisible prop: