Slide 1

Slide 1 text

Keeping Up With Modern Android Development Segun Famisa Google Developers Expert for Android [Location]

Slide 2

Slide 2 text

introduction

Slide 3

Slide 3 text

OS version changes

Slide 4

Slide 4 text

types of OS changes

Slide 5

Slide 5 text

types of OS changes ● new features ● behaviour changes - all apps ● behaviour changes - apps targeting the OS version

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

targeting an OS version

Slide 8

Slide 8 text

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”

Slide 9

Slide 9 text

targeting an OS version

Slide 10

Slide 10 text

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

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

release lifecycle & timeline

Slide 13

Slide 13 text

release lifecycle & timeline OS releases have a regular timeline

Slide 14

Slide 14 text

release lifecycle & timeline OS releases have a regular timeline

Slide 15

Slide 15 text

release lifecycle & timeline OS releases have a regular timeline This means you can plan ahead!

Slide 16

Slide 16 text

new libraries & tools

Slide 17

Slide 17 text

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

Slide 18

Slide 18 text

architecture components ● dependency injection ○ hilt ● lifecycle-aware components ○ livedata ○ viewmodel ● navigation...etc

Slide 19

Slide 19 text

data ● datastore ○ more efficient alternative shared preference ● room ● workmanager ● paging

Slide 20

Slide 20 text

performance ● benchmark ○ micro ○ macro ● tracing ● app startup ○ for initializing dependencies at app startup.

Slide 21

Slide 21 text

ui ● material you ○ your apps running S+ can allow user-generated palette. ● jetpack compose ○ declarative UI tool ○ replaces the traditional view system

Slide 22

Slide 22 text

how to stay up to date?

Slide 23

Slide 23 text

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

Slide 24

Slide 24 text

● 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

Slide 25

Slide 25 text

thank you for listening!