Hi,
I’m trying to dynamically generate several Plyr components with RecyclerView, but I have a problem retrieving the component through Any. (I play it by pressing on a CardView)

As long as the component is only one, there are no problems.
But dynamically I don’t know how to retrieve it.
Thanks in advance ![]()
EDIT: It’s fine to share how I solved it, even though I have other issues now.
For each Plyr generated, I saved the component in a list, and to play it, you just had to call the component from the list at the correct index.
The problem now is that generating many components starts causing performance issues after some videos, and deleting the player dynamically crashes the app.

