Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Pt xug xamarin pratices on big ui consumer apps

601 views

Published on

slides used on the Portuguese Xamarin User group, about best pratices and pratices off how use xamrins technologies when implementing big consumer apps. Special focus on performance best pratices

Published in: Technology
  • Be the first to comment

Pt xug xamarin pratices on big ui consumer apps

  1. 1. Lisbon, 30th January 2016 Xamarin pratices on big ui consumer apps PTXug
  2. 2. Alexandre Marreiros Speaker C:> ping me @alexmarreiros amarreiros@gmail.comwww.digitalmindignition.com
  3. 3. Once upon a time A client with a technical DNA
  4. 4. Once upon a time Who want’s a Ritch Design E-comerce Application
  5. 5. Once upon a time
  6. 6. Once upon a time
  7. 7. Once upon a time
  8. 8. Once upon a time Business people starts to think the APP Requirements
  9. 9. Once upon a time Native APPS Designer’s Strat their work
  10. 10. Once upon a time Development team do this, with Xamarin Forms
  11. 11. Once upon a time
  12. 12. Once upon a time
  13. 13. Xamarin Basics
  14. 14. Xamarin Basics
  15. 15. Xamarin Basics
  16. 16. Xamarin Basics
  17. 17. Xamarin Basics
  18. 18. Xamarin Basics
  19. 19. Xamarin Basics typical aproaches
  20. 20. Xamarin Share code
  21. 21. Xamarin Share code shared project: + Can use #if when targeting multiple platforms (e. g. Xamarin iOS, Android, WinPhone) + All framework functionality available for each target project (though has to be conditionally compiled) o Integrates at compile time - Slightly larger size of resulting assemblies pcl: + generates a shared assembly + usable with older versions of Visual Studio (pre-2013 Update 2) o dynamically linked - limited functionality (subset of all projects it is being referenced by)
  22. 22. Xamarin Share code
  23. 23. Xamarin Share code
  24. 24. Xamarin Performance
  25. 25. Xamarin Performance
  26. 26. Xamarin Performance
  27. 27. Xamarin Performance public class B { readonly WeakReference<A> aWeakRef; public B (A a) { aWeakRef = new WeakReference<A> (a); } }
  28. 28. Xamarin Performance public void Dispose () { publisher.MyEvent -= OnMyEventFires; }
  29. 29. Xamarin Performance
  30. 30. Xamarin Performance
  31. 31. Xamarin Performance
  32. 32. Xamarin custom render Custom Renderer Pattern
  33. 33. Xamarin UI tricks
  34. 34. Xamarin Forms
  35. 35. Xamarin Forms
  36. 36. Xamarin Forms or not
  37. 37. UI between devices
  38. 38. UI between devices
  39. 39. Q & A
  40. 40. References
  41. 41. Sponsors
  42. 42. C:> ping me @alexmarreiros

×