Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Adding platform specific magic to cross-platform Xamarin Forms apps

378 visualizaciones

Publicado el

This talk covers using effects and custom renderers to add platform specific tweaks to cross-platform Xamarin Forms apps.

Publicado en: Tecnología
  • Sé el primero en comentar

  • Sé el primero en recomendar esto

Adding platform specific magic to cross-platform Xamarin Forms apps

  1. 1. Adding platform specific magic to cross-platform Xamarin Forms apps
  2. 2. Jim Bennett Mobile developer at EROAD in New Zealand @JimBobBennett http://JimBobBennett.io https://github.com/jimbobbennett
  3. 3. Learn how to build native, cross- platform Xamarin apps using MVVM http://xam.jbb.io Use code ‘ctwndcsyd17’ for 40% off
  4. 4. Xamarin Forms One native UI to rule them all
  5. 5. Upside
  6. 6. It runs on all platforms!
  7. 7. Downside
  8. 8. It runs on all platforms!
  9. 9. Power comes with a price
  10. 10. Xamarin.Forms Regular Bold AndroidiOS UltraLight Thin Light Regular Medium SemiBold Bold Heavy Black
  11. 11. Designer says - “Use a light font!” Hello World Hello World Xamarin Forms: Designer wants:
  12. 12. Effects Custom Renderers
  13. 13. Effects
  14. 14. Demo
  15. 15. Custom renderers
  16. 16. [assembly: ExportRenderer(typeof(Entry), typeof(MyEntryRenderer))]

  17. 17. [assembly: ExportRenderer(typeof(Entry), typeof(MyEntryRenderer))] public class MyEntryRenderer : EntryRenderer
 {
 … }
  18. 18. Demo
  19. 19. Which one to use?
  20. 20. Jim Bennett Mobile developer at EROAD in New Zealand @JimBobBennett http://JimBobBennett.io https://github.com/jimbobbennett http://xam.jbb.io (use code ctwndcsyd17)

×