Xamarin Forms
From MgmtWiki
Contents
Full Title
The best practice use of Xamarin Forms to make a cross-platform Native App for Smart Phones.
Solutions
- Typically Modal pages ares used to collect user data. The API pushmodalasync is not normally modal except for calls from a ListView or CollectionView on the main page.
- This discussion describes a way to use a TaskCompletionSource to block a pop until the task is really completed.
Logging
- Enhanced Device Logging in Visual Studio
- Logging with Xamarin PCL also includes some comments on best practice with Xamarin Forms. For example: "NLog works just fine with Android and iOS projects. For UWP you can use MetroLog which is very similar with NLog but on a smaller scale."
- Serilog.Sinks.Xamarin writes Serilog events to the console of Xamarin.iOS (NSLog) / Xamarin.Android (AndroidLog).
References
Other Reference Material
- See the wiki page Compliant Implementation of Native User Agent for an example of a Xamarin Forms Native App.
- Petzold Xamarin Book Chaper 24 on navigation