LazyView<TView> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This a basic implementation of the LazyView based on BaseLazyView use this an exemple to create yours
public class LazyView<TView> : Xamarin.CommunityToolkit.UI.Views.BaseLazyView where TView : Viewnew()
Type Parameters
- TView
Any View
- Inheritance
Constructors
LazyView<TView>() |
Properties
IsLoaded |
This is a read-only property that indicates when the view is loaded. (Inherited from BaseLazyView) |
Methods
Dispose() |
This method dispose the Content if it's System.IDisposable. (Inherited from BaseLazyView) |
LoadViewAsync() |
This method initialize your LazyView<TView>. |
OnBindingContextChanged() | (Inherited from BaseLazyView) |
SetIsLoaded(Boolean) |
This method change the value of the IsLoaded property. (Inherited from BaseLazyView) |