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

Use with instantiateItem #13

Open
skonstant opened this issue Sep 18, 2014 · 0 comments
Open

Use with instantiateItem #13

skonstant opened this issue Sep 18, 2014 · 0 comments

Comments

@skonstant
Copy link

Hi,

I am trying to use your library but it is unclear what position to use in instantiateItem and in destroyItem

I need to use these methods to get hold of the fragments in the adapter, so I use your helper function

position = LoopViewPager.toRealPosition(position, getCount());

in getItem() how do I combine this with instantiateItem() and destroyItem(), thanks.

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