Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
Jetting away
Tudor Sirbu
@studor
Introduction
Android Jetpack
ViewModel
LiveData
The past and the future
MVC MVP MVVM
Archite
cture
Compone
nts
Android
Jetpack
2017 2018
Android Jetpack
1
2
3
4
Foundation
Architecture
Behaviour
UI
ViewModel and LiveData
ViewModel objects store data required by your UI
components and maintain it throughout configuration
changes
Why use it?
Lifecycle aware
Separation of concerns
Improved performance
Easy to use
Getting started
Creating a ViewModel class
Instantiating a ViewModel
Using LiveData
Context aware
Getting started
Creating a ViewModel class
Instantiating a ViewModel
Using LiveData
Context aware
Getting started
Creating a ViewModel class
Instantiating a ViewModel
Using LiveData
Context aware
Getting started
Creating a ViewModel class
Instantiating a ViewModel
Using LiveData
Context aware
Find out
more
Android Jetpack
https://developer.android.com/jetpack
Florina Muntenescu
https://twitter.com/FMuntenescu
Goo...
Thank you
Nächste SlideShare
Wird geladen in …5
×

Android Jetpack

280 Aufrufe

Veröffentlicht am

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.

Veröffentlicht in: Software
  • Als Erste(r) kommentieren

  • Gehören Sie zu den Ersten, denen das gefällt!

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

×