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
130
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
75
Droid 4 Droids Lima 2017
andresvasqueza
1
77
Android Architecture Components
andresvasqueza
0
38
Firebase + Android Codelab
andresvasqueza
0
41
Trabaja para Google! (Work 4Google)
andresvasqueza
0
67
Como hacer que Android te pague la comida
andresvasqueza
0
32
Android Picnic Codelab @IWD 2016
andresvasqueza
0
67
Other Decks in Programming
See All in Programming
Ruby GitHub Packages
bkuhlmann
0
650
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
1
1.4k
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
1k
ServerAction で Progressive Enhancement はどこまで頑張れるか? / progressive-enhancement-with-server-action
takefumiyoshii
6
460
Goのmultiple errorsについて (2024年4月版)
syumai
4
1.2k
From Spring Boot 2 to Spring Boot 3 with Java 21 and Jakarta EE
ivargrimstad
0
740
Balkan Ruby 2024 — How and why to run SQLite on Rails in production
fractaledmind
0
100
Code Reviews
bkuhlmann
4
900
if constexpr文はテンプレート世界のラムダ式である
faithandbrave
3
690
Amazon SQSコンシューマー疎結合への旅 - 出張! #DevelopersIO IT技術ブログの中の人が語る勉強会 #3
quiver
0
330
Milestoner
bkuhlmann
1
420
PostmanでAPIの動作確認が楽になった話
h455h1
0
190
Featured
See All Featured
The Cult of Friendly URLs
andyhume
74
5.7k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Adopting Sorbet at Scale
ufuk
69
8.6k
Producing Creativity
orderedlist
PRO
338
39k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
275
13k
Become a Pro
speakerdeck
PRO
13
4.6k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
Clear Off the Table
cherdarchuk
85
310k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
221
21k
RailsConf 2023
tenderlove
9
570
Designing for Performance
lara
601
67k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
20
1.8k
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