Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Keeping up with Modern Android Development

Keeping up with Modern Android Development

Talk presented at the Google DevFest Inspire 2021.

The talk was to share updates and what's new in Android development and how to keep your app up to date and how to stay up to date with new trends.

https://gdg.community.dev/events/details/google-developer-ecosystem-europe-team-presents-devfest-inspire/

9ab0b3b080e75e0c03a0c643333f8b93?s=128

Segun Famisa

December 09, 2021
Tweet

More Decks by Segun Famisa

Other Decks in Programming

Transcript

  1. Keeping Up With Modern Android Development Segun Famisa Google Developers

    Expert for Android [Location]
  2. introduction

  3. OS version changes

  4. types of OS changes

  5. types of OS changes • new features • behaviour changes

    - all apps • behaviour changes - apps targeting the OS version
  6. None
  7. targeting an OS version

  8. targeting an OS version minSdkVersion compileSdkVersion targetSdkVersion minimum possible version

    supported by the app google play uses this to know which devices can install the app used only in compiling and building the app. caution: always check OS version in code before using new APIs. allows you to “opt in” to the changes in the version. ideally, this would be the OS version your app officially “supports”
  9. targeting an OS version

  10. https://developer.android.com/about/versions/12/behavior-changes-12

  11. None
  12. release lifecycle & timeline

  13. release lifecycle & timeline OS releases have a regular timeline

  14. release lifecycle & timeline OS releases have a regular timeline

  15. release lifecycle & timeline OS releases have a regular timeline

    This means you can plan ahead!
  16. new libraries & tools

  17. android studio/build updates • new inspectors - database inspector, layout

    inspector, workmanager inspector • android studio build analyzer (AGP 4.0+) • android gradle plugin support for Java 11 source. See https://developer.android.com/studio/releases/gradle-plugin for more
  18. architecture components • dependency injection ◦ hilt • lifecycle-aware components

    ◦ livedata ◦ viewmodel • navigation...etc
  19. data • datastore ◦ more efficient alternative shared preference •

    room • workmanager • paging
  20. performance • benchmark ◦ micro ◦ macro • tracing •

    app startup ◦ for initializing dependencies at app startup.
  21. ui • material you ◦ your apps running S+ can

    allow user-generated palette. • jetpack compose ◦ declarative UI tool ◦ replaces the traditional view system
  22. how to stay up to date?

  23. community resources • android weekly - https://androidweekly.net/ • kotlin weekly

  24. • official courses - https://developer.android.com/courses • compose pathway - https://developer.android.com/courses/pathways/compose

    • android developers backstage - https://adbackstage.libsyn.com/ • codelabs - https://codelabs.developers.google.com/?cat=android • android developers youtube - https://www.youtube.com/c/AndroidDevelopers official resources
  25. thank you for listening!