Skip to content
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

🚀 MAUI skeleton #140

Open
Strypper opened this issue May 26, 2023 · 0 comments
Open

🚀 MAUI skeleton #140

Strypper opened this issue May 26, 2023 · 0 comments
Assignees
Labels
community 🤝 Controls or libraries that came from github community effort/medium Medium amount of work, 4h to 16h action level/normal 🙂 In comfort zone, little research and may require using built-in features, but no RnD new feature 🚀 New feature addition

Comments

@Strypper
Copy link
Owner

Strypper commented May 26, 2023

Preview

The latest trend for loading approaches in MAUI and Xamarin Forms apps. The skeleton can be easily implemented on each view contained in your XAML.
Original link
Available on NuGet: Sharpnado.HorusSkeleton.Maui [NuGet]

Public API Changes

xmlns:sk="clr-namespace:Xamarin.Forms.Skeleton;assembly=Xamarin.Forms.Skeleton"

<ListView RowHeight="90"
	SeparatorVisibility="None"
	SelectionMode="None"
	VerticalOptions="FillAndExpand"
	BackgroundColor="Transparent"
	ItemTemplate="{StaticResource ItemTemplate}"
	ItemsSource="{Binding Items}"
	sk:Skeleton.IsParent="True"
	sk:Skeleton.IsBusy="{Binding IsBusy}"
	sk:Skeleton.Animation="{sk:DefaultAnimation Fade}" />

<Frame BackgroundColor="Transparent"
       HasShadow="False"
       CornerRadius="5"
       Padding="0"
       HorizontalOptions="Start"
       sk:Skeleton.IsBusy="{Binding IsBusy}"
       sk:Skeleton.BackgroundColor="#c6c6c5">
			<Label Text="{Binding Title}"
					TextColor="#000000"
					FontSize="20"
					FontAttributes="Bold"
					HorizontalOptions="Start"/>
</Frame>

Intended Use-Case

Use this to initialize the loading view state so the user will know that the mobile app is busy on doing something.

@Strypper Strypper self-assigned this May 26, 2023
@Strypper Strypper added new feature 🚀 New feature addition level/normal 🙂 In comfort zone, little research and may require using built-in features, but no RnD community 🤝 Controls or libraries that came from github community effort/medium Medium amount of work, 4h to 16h action labels May 26, 2023
@Strypper Strypper changed the title [Feature]: Add MAUI skeleton 🚀 MAUI skeleton Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community 🤝 Controls or libraries that came from github community effort/medium Medium amount of work, 4h to 16h action level/normal 🙂 In comfort zone, little research and may require using built-in features, but no RnD new feature 🚀 New feature addition
Projects
Status: Todo
Development

No branches or pull requests

1 participant