Skip to content

My solutions for xamarin.forms

License

Notifications You must be signed in to change notification settings

chadzhao/xamarin-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Xamarin Solutions

To track my solutions for Xamarin.Forms

Shell

ScrollView

  • To enable scroll
    • Padding > 0 (recommend 1 or 0.1, otherwise when stop may hide partical header)
    • If StackLayout as child, VerticalOptions<>"Start"
    • Set child's padding to keep space
  • Case layout over head when use as root
    • Wrap by AbsoluteLayout to fix it

Frame

  • Corner Radius not show on iOS sometimes
    • Make sure child element has margin, same value (can only set XY) as CornerRadius
    • My case is StackLayout as child

Side Drawer

Erros

  • Specified cast is not valid
    • Check xaml bindings
    • Check if you push a page, with NavigationPage
    await Navigation.PushAsync(new **NavigationPage**(new SomeContentPage()));

Debug

  • [Android] data wiped everytime uninstall
    • Turn off backup via Settings -> System -> Backup, turn off whaterver backup provider(mine is Google Drive)

About

My solutions for xamarin.forms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published