AutoplayVideos icon indicating copy to clipboard operation
AutoplayVideos copied to clipboard

Issue with recyclerView.scrollToPosition();

Open firozanawar opened this issue 8 years ago • 1 comments

Hello,

Thank you for super awesome library for handling videos with recyclerView. I am using it in my project having one video on full screen. I am facing an issue when i use scrollToPosition(). It doesn't go to the required position. after setting the adapter i am adding recyclerView.scrollToPosition(4); the screen go blank most of time. Sometime it goes the particular position but video doesn't play of that position. Note :- I am trying make similar video based platform, Here is Link

Help with possible solution.

Thanks in advance !!

firozanawar avatar Apr 10 '18 13:04 firozanawar

Hi, I am not sure what exactly could be the issue but what I would do is try to use recyclerView.smoothScrollToPosition(4) and possibly call this function after some delay as it takes time to draw the video views.

Krupen avatar Apr 13 '18 11:04 Krupen