What's up, Droid?

Android Jetpack

Eric Guimarães

Libraries
Tools
Arch Guide

Principais Princípios

Acelerar o desenvolvimento

Eliminar boilerplate code

Facilitar apps robustos e de alta qualidade

Componentes

Pasta Theory of Software

Spaghetti Code

Complicated, difficult to understand, and impossible
to maintain, software.

Lasagna code

Simple, understandable,
and layered structure.  Although structured, is unfortunately
monolithic and not easy to modify.

Ravioli code

Navigation

Fim da MainActivity gigante

Simplifica a troca

Mantem o XML

Slices

Android KTX

Otimização para Kotlin

Kotlin

Kotlin + Android KTX

95%

HAPPY

developers

by Google

6X
Mais Apps
Em 1 Ano

35%
dos pro devs usam

Paging

Background Jobs

WorkManager

>14

WorkManager

WorkManager

Android Architecture

"Guide to App Architecture"

Sunflower

Principles

  • Separation of concerns
  • Loose coupling
  • Observer pattern
  • Inversion of control

ViewModel vs Presenter

LiveData

Lifecycle

Navigation

Extra - Data Binding Library

20 itens = 40 linhas

Extra - Data Binding Library

20 itens = 20 linhas

Extra - Data Binding Library

20 itens = 1 linha

FIM

What's up, Droid?

By Eric Moura Guimaraes

What's up, Droid?

Android Jetpack news - july 2018

  • 229