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.

Android Jetpack

106 views

Published on

A short introduction to the new set of tools offered to Android developers - Android Jetpack. Talk held at Leeds Mobile focusing on the ViewModel and the LiveData compoments availabe in Jetpack.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Android Jetpack

  1. 1. Jetting away Tudor Sirbu @studor
  2. 2. Introduction Android Jetpack ViewModel LiveData
  3. 3. The past and the future MVC MVP MVVM Archite cture Compone nts Android Jetpack 2017 2018
  4. 4. Android Jetpack 1 2 3 4 Foundation Architecture Behaviour UI
  5. 5. ViewModel and LiveData
  6. 6. ViewModel objects store data required by your UI components and maintain it throughout configuration changes
  7. 7. Why use it? Lifecycle aware Separation of concerns Improved performance Easy to use
  8. 8. Getting started Creating a ViewModel class Instantiating a ViewModel Using LiveData Context aware
  9. 9. Getting started Creating a ViewModel class Instantiating a ViewModel Using LiveData Context aware
  10. 10. Getting started Creating a ViewModel class Instantiating a ViewModel Using LiveData Context aware
  11. 11. Getting started Creating a ViewModel class Instantiating a ViewModel Using LiveData Context aware
  12. 12. Find out more Android Jetpack https://developer.android.com/jetpack Florina Muntenescu https://twitter.com/FMuntenescu Google I/O Talk https://www.youtube.com/watch?v=FrteWK KVyzI
  13. 13. Thank you

×