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

What's New in Android

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on.

What's New in Android

Gave this talk, explaining the new features of Android at Google I/O extended event for GDG Ibadan.

Avatar for Jubril

Jubril

June 23, 2018
Tweet

More Decks by Jubril

Other Decks in Programming

Transcript

  1. About Me Jubril Edu Software Developer Cotta & Cush Ltd

    @TheJubril Learning new things Reading Playing games Lover of football and Basketball In the process of loving F1
  2. Android Jetpack • Set of components provided as unbundled libraries

    • Utilizes Modern App Architecture • Eliminates Boilerplate Code • Simplifies Complex Tasks • Robust Backwards Compatibility
  3. Android Components (Work Manager) • Guaranteed execution of background jobs

    • Replacement for SyncAdapters and Job Schedulers • Works on devices with or without Google play services • Provides feedback on state of work
  4. Android Components (Navigation) • Support for fragments • Handles transitions

    • Automatically handles Up and back behaviours • Supports deep links • Handles Connecting navigation to UI widgets
  5. Android Component (Paging) • Enables fast loading of data •

    Introduces Infinite Scrolling in Recyclerview • Handles loading of Paginated data • Supports Room, LiveData and RxJava
  6. Android Component (Slices) Slices are UI templates that can display

    rich, dynamic, and interactive content from your app from within the Google Search app and later in other places like the Google Assistant
  7. Android Component (KTX) • Android KTX is a set of

    Kotlin extensions. • Optimizes Jetpack and Android platform APIs for Kotlin use. • Make Android development with Kotlin more concise, pleasant, and idiomatic view.viewTreeObserver.addOnPreDrawListener( object : ViewTreeObserver.OnPreDrawListener { override fun onPreDraw(): Boolean { viewTreeObserver.removeOnPreDrawListener(this) actionToBeTriggered() return true } }); view.doOnPreDraw { actionToBeTriggered() }
  8. Android X • Revised naming for packages and Maven artifacts

    • New naming better reflects library contents • Refactoring means library versions have been reset from 28.0.0 to 1.0.0 Old New android.support.** androidx.@ android.databinding.** androidx.databinding.@ android.design.** com.google.android.material.@ android.support.test.** androidx.test.@ android.arch.persistence.room.** androidx.room.@ android.arch.persistence.** androidx.sqlite.@
  9. Deprecation Policy Apps will be required to target newer versions

    of android • From August 2018 New Applications must target API 26 • From November 2018 Updates to Existing applications must target API 26
  10. Image Decoder • Alternative to BitmapFactory • Creation of images

    from byte buffer, file or URI • Supports Decoding of Bitmaps, drawables and animated drawables • Enables Customization and addition of effects to Images