O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

Adding platform specific magic to cross-platform Xamarin Forms apps

376 visualizações

Publicada em

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

Publicada em: Tecnologia
  • Seja o primeiro a comentar

  • Seja a primeira pessoa a gostar disto

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)

×