Quantcast
Channel: Active questions tagged tabs - Stack Overflow
Viewing all articles
Browse latest Browse all 587

BottomNavigationBar without loading all pages at once

$
0
0

I have a screen with a BottomNavigationBar and an IndexedStack that swaps the child view based on the bottom bar index.

Everything is ok, except that all four pages are created at once, loading their data that is quite heavy and slowing down the app for some seconds.

Is there a setup that allows me to load each page only when the corresponding tab gets tapped?


Viewing all articles
Browse latest Browse all 587

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>