I am using the YouTubePlayerView in my recyclerview, so when the video id is repeated, i am getting this error. Please help me.
Thanks in advance.
Clearly you are trying to initialise the same YouTubePlayerView multiple times. This is wrong. You should have a YouTubePlayerView for every item in your recyclerview.
how can we make youtube player for every recyclerView items?
It is dynamic.
Can we override the initialization or load video on the same initialization?
???????????????
Just put one in every viewholder