Common - txgz999/Mobile GitHub Wiki
String and Image Localization
- Android: use Resource Directory .xml file: https://www.raywenderlich.com/4878024-android-localization-getting-started
- Xamarin Forms: use Resource file .resx file, see https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/localization/text?pivots=windows
Controls Comparisons
Android Views | Xamarin Forms Controls | NativeScript Components |
---|---|---|
Linear Layout | Stack Layout | Stack Layout |
Text View | Label | Label |
Button | Button | Button |
Edit Text | Entry | Text Field |
Image View | Image | Image |
Progress Bar | Activity Indicator | Activity Indicator |
List View | List View | List View |
For details, see https://docs.nativescript.org/ui/overview
I like the ItemTemplate in ListView in Xamarin Forms, in this way the item layout can be defined with the ListView layout together, and therefore there is no need to define an data adapter in code.