Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with recyclerView.scrollToPosition(); #73

Open
firozanawar opened this issue Apr 10, 2018 · 1 comment
Open

Issue with recyclerView.scrollToPosition(); #73

firozanawar opened this issue Apr 10, 2018 · 1 comment

Comments

@firozanawar
Copy link

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 !!

@Krupen
Copy link
Owner

Krupen commented Apr 13, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants