Android Architecture Components . BASICS
useful videos & blogs :
https://www.youtube.com/watch?v=4qy-JwKNjQ8
memory leaks :
https://www.youtube.com/watch?v=bNM_3YkK2Ws
------------------------------------------------------------------------------------
Android architecture components are a collection of libraries that help you design robust, testable, and maintainable apps.
- Manage your app's lifecycle. New lifecycle-aware components help you manage your activity and fragment lifecycles. Survive configuration changes, avoid memory leaks and easily load data into your UI.
- Use LiveData to build data objects that notify views when the underlying database changes.
- ViewModel stores UI-related data that isn't destroyed on app rotations.
- Room is a SQLite object mapping library. Use it to avoid boilerplate code and easily convert SQLite table data to Java objects.
Android architecture componants are a part of Jetpack.


Comments
Post a Comment