Fragments 2017

Fragments 2017

A conference on the mobile ecosystem in India

Akshay Chordiya

@akshaychordiya

Exploring the new Android Architecture Components

Submitted Jul 17, 2017

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

Slides

https://goo.gl/QmLHb5

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

How do you make a great mobile experience? Explore with Fragments. Follow Fragments on Twitter more