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

How to preload my all swiper items? #173

Open
Nyamkhuub opened this issue Jan 15, 2020 · 3 comments
Open

How to preload my all swiper items? #173

Nyamkhuub opened this issue Jan 15, 2020 · 3 comments

Comments

@Nyamkhuub
Copy link

Hi there? I believe, you can help me!
@jzoom , @jogboms , @iChenLei, @pepsighan
I have a small issue on the flutter swiper plugin. I want to show web view on the each swiper item. Also web view is just contain 1 audio player. When I swap between swiper item, little bit loading. and in this moment, re rendering process, I assume. So, I want to preload all swiper item before show on the screen. Is it possible?

@kwent
Copy link

kwent commented Jan 22, 2020

If we could even preload with an index offset. Like 2 items on the right, and make it keep preloading as we swipe. It would be neat.

@takaoandrew
Copy link

I have the same problem when using Image.network() in my Swiper -- I would love if they could preload somehow!

@jja08111
Copy link

jja08111 commented Jan 27, 2022

I solved this by adding allowImplicitScrolling property at PageView.builder in transfomer_page_view.dart.
And use the value true it works.

Here is a sample commit jja08111@bc08efe

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

4 participants