Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Android Architecture Components Codelab
Search
Andres Vasquez
September 23, 2017
Programming
0
140
Android Architecture Components Codelab
Use the new Android Architecture Components in a simple List codelab.
Andres Vasquez
September 23, 2017
Tweet
Share
More Decks by Andres Vasquez
See All by Andres Vasquez
Deja de procastinar y ponte a Programar
andresvasqueza
0
91
Droid 4 Droids Lima 2017
andresvasqueza
1
84
Android Architecture Components
andresvasqueza
0
42
Firebase + Android Codelab
andresvasqueza
0
47
Trabaja para Google! (Work 4Google)
andresvasqueza
0
89
Como hacer que Android te pague la comida
andresvasqueza
0
36
Android Picnic Codelab @IWD 2016
andresvasqueza
0
120
Other Decks in Programming
See All in Programming
CSC305 Lecture 10
javiergs
PRO
0
290
はじめてのDSPy - 言語モデルを『プロンプト』ではなく『プログラミング』するための仕組み
masahiro_nishimi
4
16k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
670
なんでRustの環境構築してないのにRust製のツールが動くの? / Why Do Rust-Based Tools Run Without a Rust Environment?
ssssota
14
46k
組込みだけじゃない!TinyGo で始める無料クラウド開発入門
otakakot
2
380
Pythonに漸進的に型をつける
nealle
1
130
Go言語はstack overflowの夢を見るか?
logica0419
0
630
オンデバイスAIとXcode
ryodeveloper
0
230
バッチ処理を「状態の記録」から「事実の記録」へ
panda728
PRO
0
190
Reactive Thinking with Signals and the Resource API
manfredsteyer
PRO
0
120
Software Architecture
hschwentner
6
2.3k
オープンソースソフトウェアへの解像度🔬
utam0k
17
3.2k
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Building a Scalable Design System with Sketch
lauravandoore
463
33k
Statistics for Hackers
jakevdp
799
220k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
Side Projects
sachag
455
43k
Stop Working from a Prison Cell
hatefulcrawdad
272
21k
Site-Speed That Sticks
csswizardry
13
930
The Straight Up "How To Draw Better" Workshop
denniskardys
238
140k
A better future with KSS
kneath
239
18k
Unsuck your backbone
ammeep
671
58k
jQuery: Nuts, Bolts and Bling
dougneiner
65
7.9k
Transcript
https://goo.gl/7Stbz9
photo Workshop Android Architecture Components Presentado por: Andrés Vasquez Agramont
GDG Hola! Soy Andrés Vasquez - Ing. Telecomunicaciones. - Android
Certificate - +5 años experiencia. - Mojix - Jakare SRL.
Android Feedback Summit
None
None
Android Architecture Components https://developer.android.com/arch
LifeCycle Manage your app's lifecycle with ease. Lifecycle-aware components -
LiveData - ViewModel - LifecycleObserver - LifecycleOwner
Reactive Programming Is a programming paradigm oriented around data flow
and the propagation of change. Object x - Subscribe - Unsubscribe Lifecycle
States -> Events Lifecycle Aware components: React with Lifecycle events.
None
Room A SQLite object mapping library Data persistence - Entity
- DAO - Database ➔ Compilation time check. ➔ Interface access. ➔ Object mapping.
Final Structure
Final Data flow
Testing Structure Mock ViewModel Mock Persistence Mock Data Source
Let’s code! ui viewmodel repository db utils
None
The sample Follow the instructions in: codelab/Steps.txt Master Branch: -
Layouts, adapters, Fragments UI. - TODO Step # - Use the steps to complete the codelab Complete Branch
loadAll add delete
[email protected]
The challenge getPerson update
https://github.com/andres-vasquez/ android-mvvm-attendance Branch: Complete
thank you