Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Xamarin.Android RecyclerView

Xamarin.Android RecyclerView

When creating mobile applications, performance is mandatory. In this presentation I show how to use a RecyclerView using Xamarin.Android.

D01942841e5cdf4d32de586907466952?s=128

Julien Fiaffé

June 15, 2016
Tweet

Other Decks in Technology

Transcript

  1. Cross-Platform Native Mobile Development – Julien Fiaffé

  2. None
  3. None
  4. None
  5. None
  6. None
  7. None
  8.  Xamarin.Android.Support.V7.RecyclerView  Xamarin.Android.Support.V4

  9. None
  10. None
  11. None
  12.  ItemCount  OnCreateViewHolder  OnBindViewHolder

  13.  Is like a box  Keeps references to UI

    elements
  14. None
  15. None
  16.  OnScrolled  layoutManager.ItemCount  layoutManager.FindLastVisibleItemPosition

  17.  NotifyDataSetChanged  NotifyItemRangedInserted  NotifyItemRangedRemoved  …

  18. None
  19. None
  20. None
  21.  MvxItemTemplate => ViewHolder  ObservableCollection as ItemsSource  Beware

    of performance issues
  22.  1+ year of Xamarin  Android & iOS 

    4+ year of .NET  @JulienFiaffe
  23. None