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
devfest-AAC-2017-codelab
Search
Hyeonji Jeong
November 19, 2017
76
0
Share
devfest-AAC-2017-codelab
Hyeonji Jeong
November 19, 2017
More Decks by Hyeonji Jeong
See All by Hyeonji Jeong
How to use Dagger2 and Koin
hyunji92
2
1.2k
2018 DevFest - Update to Oreo & Pie
hyunji92
0
150
droidknight_2018_nbt
hyunji92
0
70
AAC-2017-soma
hyunji92
0
42
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
190
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
450
Rails Girls Zürich Keynote
gr2m
96
14k
A Tale of Four Properties
chriscoyier
163
24k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
540
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
220
BBQ
matthewcrist
89
10k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Navigating Weather and Climate Data
rabernat
0
200
Transcript
정현지 GDG Android Oganizer @hyundeee Android ArchitectureComponents
Android Architecture Components ???
None
기존 android architecture design patterns MVP VIEW PRESENTER MODEL
기존 android architecture design patterns MVVM VIEW VIEW MODEL Binding
Observe Change
None
Android Architecture Components
ViewModel Scope
Activity Instance Rotation Event Recreated Activity Instance Activity UI Data
Recreated Activity Instance Activity Instance Rotation Event 사진에 대한 설명.
사진에 대한 설명. 사진에 대한 설명. ViewModel Activity UI Data
Warning ViewModel은 onSaveInstanceState를 대체하지 않습니다. ViewModel 은 디바이스 자원의 제약으로
인한 프로세스관련 종료가 일어나게 되면 계속 살아남아 있지 않습니다.
LiveData Activity UserName : Boo PCTFSWFT OPUJGJFT Boo BAR UserName
: BAR VQEBUFT
LifeCycle Android LifeCycle을 정의 하는 객체 LifeCycleOwner LifeCycle을 가지고 있는
객체들을 위한 인터페이스 LifeCycleObserver LifecycleOwner 관찰하기 위한 인터페이스 LifeCycle
ROOM
None
None
None
None
None
None
None
None
None
None
Activity Instance Rotation Event Activity UI Data Recreated Activity Instance
Activity Instance
ViewModel Activity UI Data Activity Instance Recreated Activity Instance
Rotation Event