Xamarin.Forms.TabView icon indicating copy to clipboard operation
Xamarin.Forms.TabView copied to clipboard

Lazy Tab is not lazy

Open TienNK1987 opened this issue 5 years ago • 2 comments

It sounds like the lazy tab is not really lazy. As I see when debugging my app, TabView always initializes all ContentView in all TabViewItem (Tab content) when opening the page.

TienNK1987 avatar Sep 07 '20 11:09 TienNK1987

In my experience it was quite the opposite (android), On each tab change the contentview was initialised every time. Shouldn't it be initialised only once. So we can have good statrtup as well as runtime performance. In current situation runtime performance is low while using Lazyload

AswinPG avatar Oct 19 '20 10:10 AswinPG

Refactoring and improving several parts of the control: https://github.com/jsuarezruiz/Xamarin.Forms.TabView/pull/12 I will check thoroughly the best option to have Lazy Loading.

Thanks for all your feedback.

jsuarezruiz avatar Nov 02 '20 19:11 jsuarezruiz