Slide 1

Slide 1 text

Harun Wangereka Android Engineer Apollo Agriculture @wangerekaharun What’s New In Android

Slide 2

Slide 2 text

Modern Android Development

Slide 3

Slide 3 text

A M.A.D story…

Slide 4

Slide 4 text

“Development Tools, APIs, language and distribution technologies recommended by the Android team to help developers be productive and create better apps that run across billions of devices ”

Slide 5

Slide 5 text

Development

Slide 6

Slide 6 text

Some pain points…💔 ● Storing data locally and observing changes ● Navigation ● Handling lifecycle in Activities and Fragments ● Loading infinite lists ● Handling background jobs ● Performance

Slide 7

Slide 7 text

Enter Jetpack Libraries

Slide 8

Slide 8 text

Why Jetpack? ● Follow best practices ● Remove boilerplate code ● Reduce fragmentation ● The APIs work well together

Slide 9

Slide 9 text

Lifecycle ViewModel Room Paging Work Manager Navigation Camerax Material Design Benchmark

Slide 10

Slide 10 text

Jetpack Libraries Updates ● JankStats - Track and analyze jank performance problems in app UI ● Baseline Profiles - enable apps to load faster & reduce dropped frame son first user interaction ● Room 2.5 - Full Kotlin Rewrite, Support for KSP, Relational Queries, Native support for Paging 3

Slide 11

Slide 11 text

Jetpack Libraries Updates ● Navigation - Support for Multiple backstacks, Compose support, Koltin rewrite ● Fragment - Complete Rewrite ● CameraX Improvements ● Paging Library - Stable Support for RX/ Guava Integrations, improvements n handling of stale data, More callbacks

Slide 12

Slide 12 text

Jetpack Compose

Slide 13

Slide 13 text

Compose Highlights ● Declarative UI ● Powerful and performant ● Less code and easy to develop UI ● Intuitive

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

Compose 1.2 Beta ● Live Edit ● Nested Scrolling Support ● Recomposition debugging ● Lazy Grids - Horizontal & Vertical ● Compose Animation Preview ● Performance related sessions: Common Perfomance gotchas

Slide 16

Slide 16 text

And more….

Slide 17

Slide 17 text

And more…. https://developer.android.com/jetpack/androidx/explorer

Slide 18

Slide 18 text

Deployment

Slide 19

Slide 19 text

Google I/O ‘22 Updates

Slide 20

Slide 20 text

Android 13 Focus is more on: ● Security & Privacy ○ Permissions for Notifications ○ Improved Permissions on Nearby Devices ○ Privacy Protecting Photo Picker ● Developer Productivity ○ New copy paste ui ○ Predictable back behaviour ○ Themed Icons ○ Easier support for app specific language settings

Slide 21

Slide 21 text

Proprietary + Confidential Building for Large Screens ● Foldables ● Tablets Check Annunziata’s Session

Slide 22

Slide 22 text

ARCORE Geospatial API Build immersive, global-scale, location-based augmented reality experiences

Slide 23

Slide 23 text

Play ● SDK Console for helping developers ship high quality and secure mobile SDKS ● Cloud Key Management as the new way to manage app signing ● Play Integrity API for helping in detecting risky and unknown interactions with your app to prevent abuse and attacks ● Data safety section. Every app has this section which has to filled ● Accessing Vitals outside console. ● Linking Play Console with Crashlytics ● Dedicated Deep Link Page on Play Store

Slide 24

Slide 24 text

Proprietary + Confidential Now In Android App Source: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis non erat sem

Slide 25

Slide 25 text

Resources ● https://android-developers.googleblog.com/ ● https://www.youtube.com/c/AndroidDevelopers ● https://codelabs.developers.google.com/

Slide 26

Slide 26 text

Harun Wangereka Android Engineer Apollo Agriculture @wangerekaharun Thank You!