Android Jetpack: Paging

author Android Developers   9 мес. назад
27,094 views

535 Like   24 Dislike

Android Jetpack: Improve Your App's Architecture

Announced at I/O 2017, Architecture Components are one part of Jetpack. These components include Room, LiveData, ViewModel, Paging, WorkManager and Navigation. Used separately they solve common but complex architecture issues, such as managing Android Lifecycle (LiveData/ViewModel), or handling background tasks (WorkManager). Used together, you can ditch the boilerplate, build robust apps faster, and focus on the code that makes your app unique! Check out the docs and samples: Architecture Components docs → https://goo.gl/guDBdr Architecture Components samples → https://goo.gl/9AzUSz Gradle dependencies → https://goo.gl/xD4evT App Architecture Guide → https://goo.gl/j5Zztk Guide to Background Operations → http://bit.ly/2wjVHZI Check out the codelabs: Room with a View Codelab [LiveData, ViewModel, Room and the architectural guidance] → http://bit.ly/2FS6YQD Android WorkManager Codelab → http://bit.ly/2KGdQ7g Android Navigation Codelab → http://bit.ly/2rs7jEy Android Paging Codelab → http://bit.ly/2rmSqDk Android Lifecycle-aware components Codelab [LiveData and ViewModel] → https://goo.gl/OBkIfC Android Persistence Codelab [Room] → https://goo.gl/AMwWvx Like videos? Check out these other DevBytes: Room → https://goo.gl/1ePbRb ViewModel → https://goo.gl/i6Xh8c Paging Library → https://goo.gl/UmkLTG LiveData → https://goo.gl/exEQbm Watch more Android Jetpack videos here → https://goo.gl/kw8LPv Subscribe to the Android Developers channel here → https://goo.gl/vLYDU #AndroidJetpack #jetpack #featured

Android Jetpack: manage infinite lists with RecyclerView and Paging (Google I/O '18)

An introduction to the Paging Library in Android Arch Components. This session will go through local (with Room library) and remote storage (with Retrofit) examples, explain the design, and how it fits together with other architecture components. Rate this session by signing-in on the I/O website here → https://goo.gl/Up5Xsc Watch more Android sessions from I/O '18 here → https://goo.gl/R9L42F See all the sessions from Google I/O '18 here → https://goo.gl/q1Tr8x Subscribe to the Android Developers channel → http://goo.gl/GEh1ds #io18

Fun with LiveData (Android Dev Summit '18)

LiveData is a simple observable data holder that is aware of the lifecycle of the observers. It was designed to avoid memory leaks and null pointer exceptions between an activity or fragment and a ViewModel. However, you can also use LiveData beyond the ViewModel. Components like Room or Workmanager also expose LiveData observables, and you can make your own data sources lifecycle-aware. In this talk, we'll deep dive into patterns with LiveData such as the different types of transformations (map, switchMap and MediatorLiveData), handling events and building reactive architectures as well as common antipatterns and code-smells to avoid. Links: LiveData blogs → http://bit.ly/2PUpnWd Samples → http://bit.ly/2qzKbDN I/O app → http://bit.ly/2Ov1Vd3 Presented by: Jose Alcérreca & Yigit Boyar Android Dev Summit '18 all sessions playlist → http://bit.ly/ADS18-Sessions Subscribe to the Android Channel! → http://bit.ly/AndroidDevs1 #AndroidDevSummit"

Single Activity: Why, When, and How (Android Dev Summit '18)

With the Navigation Architecture Component, developers have the tools to move towards a single activity structure for their app, but they don't know: — why they should move to that model — when it is appropriate — how exactly to take advantage of that structure and migrate to it Navigation Architecture Component → http://bit.ly/2zGSmme Testing Fragments → http://bit.ly/2qzf37w Presented by: Ian Lake Android Dev Summit '18 all sessions playlist → http://bit.ly/ADS18-Sessions Subscribe to the Android Channel! → http://bit.ly/AndroidDevs1 #AndroidDevSummit

Paging facilitates gradual on-demand data loading from a local or network data source, allowing apps to work with large data sets, including support for RecyclerView. See what the main Paging Library components are, how you use them and how they fit into your app’s architecture.

Read more about the Paging Library here → https://goo.gl/Jw5Q8A
Take a look at the codelab → https://goo.gl/v8qr8N
Sample apps → https://goo.gl/9AzUSz

Watch more Android Jetpack videos here → https://goo.gl/kw8LPv

Subscribe to the Android Developers channel here → https://goo.gl/vLYDU

#jetpack #featured

Comments for video: