HorusSoftwareUY / Xamarin.Forms.Skeleton

The new loading approach for cool apps in Xamarin Forms
MIT License
450 stars 52 forks source link

Open to custom animations #9

Closed felipebaltazar closed 4 years ago

felipebaltazar commented 4 years ago

Overview

Would be cool the possibility to create custom animations and use them on Skeleton

Details

Skeleton can use a Type parameter, instead of enum, to get the animation and build it dynamically We can provide some static values, like Label.FontSize has the Small Medium and Large presets on Xamarin.Forms

<StackLayout
             Padding="16"
             extension:Skeleton.IsParent="True"
             extension:Skeleton.IsBusy="{Binding IsBusy}"
             extension:Skeleton.Animation="local:MyCustomAnimation">
AgustinBonilla commented 4 years ago

Hi @felipebaltazar , this idea looks awesome! If you want it and have free time you can create another PR and we include it in the next version. We really appreciate your feedback!!