-
Notifications
You must be signed in to change notification settings - Fork 53
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
How does disposing Pages work? #9
Comments
Hey @aytunch , thanks for use my widget. I'll check your question, if need I'll create a new release for this widget. |
@octomato Same thing happening in my case too. There's no way dispose is being called when the user switches the page. |
The same happening to me |
Is there a solution for the dispose? |
Also waiting for the solution |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Let's say we have preloadPagesCount = 2
We are at Page 0 so Page 0 and Page 1 are already preloaded.
User swipes to Page 1 and Page 2 automatically gets preloaded.
My question is does page 0 gets disposed at this time? I think it does not since, user can swipe left to Page 0. So when does Page 0 gets disposed? Or is disposing not being handled by this package?
I want to use this package with videos just like the majority of this awesome packages users. So disposing videos is very important in terms of performance and memory.
Please clarify the inner workings of disposing and creation of Pages
The text was updated successfully, but these errors were encountered: