Difference between revisions of "Xamarin Forms"
From MgmtWiki
(→Logging) |
|||
Line 1: | Line 1: | ||
==Full Title== | ==Full Title== | ||
− | The best practice use of [[Xamarin Forms]] to make a cross-platform [[Native App]] for [[Smart Phone]s. | + | The best practice use of [[Xamarin Forms]] to make a cross-platform [[Native App]] for [[Smart Phone]]s. |
==Solutions== | ==Solutions== | ||
===Navigation=== | ===Navigation=== | ||
− | * Typically Modal pages ares used to collect user data. The API pushmodalasync is not normally modal except for calls from a ListView on the main page. | + | * Typically Modal pages ares used to collect user data. The API pushmodalasync is not normally modal except for calls from a ListView or [https://github.com/xamarin/Xamarin.Forms/issues/3172 CollectionView] on the main page. |
* | * | ||
Revision as of 15:39, 30 September 2020
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.
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