Exploring the new Android Architecture Components
Akshay Chordiya
@akshaychordiya
Being an Android Developer, we all have faced the common challenges of handling lifecycle events, maintaining state and storing data while developing apps on Android. These issues still take our time and we deal with them using different architectures like MVP, MVVM, etc.
At Google I/O, the Android Team announced the new Android Architecture Components (namely Life cycle, Live data, View model and Room) and guidelines to help you solve these common problems.
In this talk we will look at what are the Architecture Components and guidelines, and help you learn how to use them to build robust, maintainable and testable apps.
Outline
- Life before the architecture guidelines and components
- Why there was need of these components?
- What are the architecture components?
- Overview about final picture
- Looking at Lifecycle
- Preventing NPEs on rotating using ViewModel
- Instant UI updates using LiveData
- Easier interaction with SQLite with Room
- Looking at Repository pattern
- Concluding about final picture
- Build a demo app
- Questions
Requirements
Basic Android understanding
Speaker bio
Akshay Chordiya is an Entrepreneur and Android Developer from Pune. He has been working on Android since 3+ years. He is an active community speaker who has been promoting Kotlin and having fun with series of articles, meetups and workshops; even before it was official. He is co-author of an upcoming “Kotlin Blueprints” book
Links
- Github: https://github.com/AkshayChordiya
- All Articles: https://medium.com/@aky
- Introduction to Architecture Components: https://medium.com/@aky/introduction-to-android-architecture-components-22b8c84f0b9d
- Architecture Component Sample: https://github.com/AkshayChordiya/android-arch-news-sample
- MAD meetup: https://twitter.com/madmeetup/status/895245850607312896
- Mumbai meetups: https://www.facebook.com/MADMeetup/posts/291961637884395:0
- Pune Meetups: https://www.meetup.com/Pune-Mobile-Developers/events/238978286/
- Kotlin workshop: https://www.meetup.com/Pune-GDG/events/240839546/
{{ errorMsg }}