Share via


LazyView<TView> Class

Definition

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
LazyView<TView>

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)

Applies to