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

Android Dev Summit 2018

Android Dev Summit 2018

Review of Android Dev Summit 2018, which held on 7-8 November.

Zhanibek Marshal

November 30, 2018
Tweet

More Decks by Zhanibek Marshal

Other Decks in Programming

Transcript

  1. 42 hours of flight. 8 sessions + 1 mini talk.

    Over 1000 Android Developers.
  2. Build Speed What’s affecting build speed overall: • Expanding code

    bases • Custom plug-ins • Annotation processors • New languages • Number of modules
  3. Android App Bundle • Reducing size of application • Have

    to store release key on Google Play • Enables new cool features Kolesa 45.7%
  4. Dynamic Feature Module • Install and Uninstall features on demand

    • Defer install in the background BASE Kaspi Shop Retush etc
  5. Google Play Instant • Limit raised to 10MB • URL

    is optional • Supported automatically with Android App Bundle
  6. Make navigation great again What challenges appear when we have

    multiple destinations? Update global UI as the current destination changes Navigating between destinations
  7. Then why Fragment Once we enter to activity, system don't

    care how you handle flow Fragment is easier to create graph
  8. Navigation Testing Rule #1 Don’t test at destination level Extract

    business logic out of your destination Write tests against a ViewModel Fragment Scenario
  9. Lint Use it on Android Studio and with gradle Lint

    option → base line = shows only new warnings Very useful tool to check your code
  10. User flow Reactivating user is important as users are updating

    their phones every 2 years Use "smart Lock for password" And “Autofill”
  11. You can group folders in cache I order to free

    up together Use content uri instead of file uri - as file requires permission Discover with MediaStore class Storing Why it’s really hard to get simple image from gallery and camera
  12. Android development at Google 100+ Android App ~2B Lines of

    code 20K Builds per day 27M Test runs per day
  13. Developer workflow Changes get reviewed by peers Development at head

    (Mono Repo) Testing is a requirement Large CI system 1 2 3 4
  14. Project Nitrogen Instrumentation test на Android framework очень сложные Design

    for any build system Build cross platform Build with extensibility in mind Single configuration