FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

xamarin-forms-samples/duo-notes at main · conceptdev/xamarin-forms-samples · GitHub

Latest commit

 

History

History

README.md

Duo-Notes

This app is a simple master-detail demo built for the Surface Duo using Xamarin.Forms.

This sample is based on the Xamarin.Forms Get Started tutorials, specifically the multi-page notes sample.

The Xamarin team built a neat demo called XamarinTV; I've borrowed some ideas from that (including the theme handling!), but stripped down to two simple views.

The sample uses the TwoPaneView control to lay out a CollectionView and a 'details' view: across both screens when the app is spanned, but split when on a single screen (or regular Android device).

There is a settings view (accessed via the gear icon), which should always take up an entire screen (not be split). Check out the code in MainPage.xaml.cs to see how the TwoPaneView is configured to make that happen. The same behavior can be accomplished via MVVM and Triggers (see the XamarinTV visual states and view model for their solution).

Build 2020

This sample was mentioned in the Microsoft Build 2020 session How to bring your Android apps to Surface Duo with Xamarin:

Other samples

Docs


Back | FazBrowse Home | New Git URL