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

ViewPager #208

Open
bbetter opened this issue Sep 21, 2018 · 0 comments
Open

ViewPager #208

bbetter opened this issue Sep 21, 2018 · 0 comments

Comments

@bbetter
Copy link

bbetter commented Sep 21, 2018

I experience severe blinking after viewpager reloading inside of your SwipeFlingAdapterView.

I dug into lib and found out this specific line
View newUnderChild = this.mAdapter.getView(startingIndex, (View)null, this);

therefore getview method of my adapter is always initializing itself from scratch , making viewholder pattern impossible to use. And I have some operations like setting viewpager adapter in the viewholder constructor, which I assume makes it blink and lag a bit after each card is swiped.

Can you pls suggest something to fix this issue ?

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

1 participant