You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a ContentPage that freezes the UI something around 2-3 seconds everytime I navigate to it. I'm trying to put different elements of the page inside a LazyView and just show something like a skeleton (or shimmer) while those controls are loading in order to make the navigation smoother.
I'm using your project as sample. More specifically MyView.xaml.cs + MyViewLazyView.cs. I understand you define the view (MyView) and then, its lazy view container (MyViewLazyView). But can I achieve the same behaviour without defining a new container for each view I want to lazy load? I'm looking to just pass the view as argument.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a ContentPage that freezes the UI something around 2-3 seconds everytime I navigate to it. I'm trying to put different elements of the page inside a LazyView and just show something like a skeleton (or shimmer) while those controls are loading in order to make the navigation smoother.
I'm using your project as sample. More specifically MyView.xaml.cs + MyViewLazyView.cs. I understand you define the view (MyView) and then, its lazy view container (MyViewLazyView). But can I achieve the same behaviour without defining a new container for each view I want to lazy load? I'm looking to just pass the view as argument.
Something like this:
Beta Was this translation helpful? Give feedback.
All reactions