-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LazyView #722
Comments
kphillpotts
added
new
proposal
A fully fleshed out proposal describing a new feature in syntactic and semantic detail
labels
Nov 2, 2022
The usage of |
ghost
added
champion
A member of the .NET MAUI Toolkit core team has chosen to champion this feature
and removed
new
labels
Nov 2, 2022
ghost
added
approved
This Proposal has been approved and is ready to be added to the Toolkit
help wanted
This proposal has been approved and is ready to be implemented
labels
Nov 3, 2022
VladislavAntonyuk
removed
the
needs discussion
Discuss it on the next Monthly standup
label
Nov 7, 2022
Is this a duplicate of #112? Or vice-versa? |
@kphillpotts is this something you are looking at implementing or would you be willing for some help? I need to find something to get involved with now. |
Closing as duplicate of #112 |
ghost
reopened this
Jan 21, 2023
ghost
reopened this
Jan 21, 2023
VladislavAntonyuk
removed
help wanted
This proposal has been approved and is ready to be implemented
approved
This Proposal has been approved and is ready to be added to the Toolkit
proposal
A fully fleshed out proposal describing a new feature in syntactic and semantic detail
champion
A member of the .NET MAUI Toolkit core team has chosen to champion this feature
labels
Jan 21, 2023
ghost
reopened this
Jan 21, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
LazyView
Summary
The LazyView control allows you to delay the initialization of a View. You need to provide the type of the View that you want to be rendered, using the x:TypeArguments XAML namespace attribute, and handle its initialization using the LoadViewAsync method. The IsLoaded property can be examined to determine when the LazyView is loaded.
Motivation
LazyView is one of the views that exist in the Xamarin Community Toolkit that has been requested as a missing piece in the migration of some big apps from Xamarin to MAUI.
Detailed Design
To provide a migration path forward from Xamarin Community Tookit, I see no reason to update the API surface area, as such it would be:
Properties:
Methods:
XAML Usage
C# Implementation of a LazyView derived
Drawbacks
No drawbacks I'm aware of, other than potentially competing priorities
Unresolved Questions
The text was updated successfully, but these errors were encountered: