Sharpnado.Tabs icon indicating copy to clipboard operation
Sharpnado.Tabs copied to clipboard

[MAUI] DelayedView LoadingTemplate or Loading Content?

Open LeoJHarris opened this issue 1 year ago • 0 comments

Describe the solution you'd like When pages loads with DelayedView a activity indicator shows but it would be nice to have an option to provide some other visual indicator of page loading like skeleton loading into a LoadingView?

Something like the following:

<tabs:DelayedView  Animate="True" UseActivityIndicator="False" ... >
                        <tabs:DelayedView.LoadingView>
                        <!--some loadingview or control template option?-->
                        </tabs:DelayedView.LoadingView>
</tabs:DelayedView>

Describe alternatives you've considered Currently we use the the following that requires a bit more involvement of switching layout but ideally we could utilize DelayedView view switching and its improved performance, currently we still using LazyView

<Grid toolkit:StateContainer.CurrentState="{Binding CurrentPageState}">
                        <toolkit:StateContainer.StateViews>
                            <Grid
                                toolkit:StateView.StateKey="Loading"

LeoJHarris avatar Jul 25 '24 00:07 LeoJHarris