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
85
Android Architecture Components
andresvasqueza
0
43
Firebase + Android Codelab
andresvasqueza
0
47
Trabaja para Google! (Work 4Google)
andresvasqueza
0
90
Como hacer que Android te pague la comida
andresvasqueza
0
36
Android Picnic Codelab @IWD 2016
andresvasqueza
0
130
Other Decks in Programming
See All in Programming
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
710
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.4k
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
160
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
120
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
680
AgentCoreとHuman in the Loop
har1101
5
230
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.9k
CSC307 Lecture 09
javiergs
PRO
1
830
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
690
CSC307 Lecture 02
javiergs
PRO
1
780
Featured
See All Featured
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
700
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
57
50k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
The Invisible Side of Design
smashingmag
302
51k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
Are puppies a ranking factor?
jonoalderson
1
2.7k
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
240
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
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