Is there a way to keep some paths loaded in memory, i.e. not recreate the views when the path changes?
I was implementing a tab bar layout like in the RandomUsers example, but with this solution the pages get recreated every time the user switches tab, which can make the process of switching tab a bit laggy.
Is there a way to keep those pages in memory to provide a smooth tab bar experience?
Note: this would also allow keeping states, like scrolling positions. It just feels more natural.