Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
MVVM Architecture with Room
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
AndroidDev Surabaya
December 20, 2019
Technology
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
MVVM Architecture with Room
AndroidDev Surabaya
December 20, 2019
Transcript
17 slides
None
MVVM Architecture with Room Dimas Rangga Noval A. @derangga
Architecture Pattern in Android - MVC (Model View Controller) -
MVP (Model View Presenter) - MVVM (Model View ViewModel)
MVC VIEW MODEL CONTROLLER 1 .. 1
MVP VIEW MODEL PRESENTER 1 .. 1
MVVM VIEW MODEL VIEWMODEL 1 .. •
Room Persistance Library
Room adalah persistance library yang mempermudah kita untuk melakukan transaksi
data dengan SQLite dan mengurangi jumlah boilerplate code Apa itu Room ?
@Entity @Dao @Database Component pada Room
@Entity
@Dao
@Dao
@Database
Coding Section Let’s try to build it !!
https://github.com/derangga/room-arch-component
Architecture Component
None
More Decks by AndroidDev Surabaya
See All by AndroidDev Surabaya
Meetup Desember : AndroidDev Surabaya Overview
androiddevsurabaya
0
70
Android : Easy Phone Authentication using Firebase
androiddevsurabaya
0
90
Mengatur Tampilan dan Tata Letak di Android
androiddevsurabaya
0
120
Build More with KOTLIN Anko | AndroidDevSBY Meetup 11
androiddevsurabaya
0
150
The Magic of Kotlin
androiddevsurabaya
0
220
BE AN ANDROID EXPERT - AndroidDev Surabaya Meetup #9
androiddevsurabaya
0
160
How To Consume Api On Android Using Retrofit - Meetup AndroidDev Surabaya #8
androiddevsurabaya
1
97
#KartiniZamanNow - Meetup AndroidDev SBY #7
androiddevsurabaya
0
110
Learn Android UI #4 - Meetup AndroidDev Surabaya #7
androiddevsurabaya
0
150
Other Decks in Technology
See All in Technology
ブース設計、 お前もプロダクトだったのか / So Booth Design Was a Product All Along
akihiro0038
0
150
技術書典で本を売る流れ
yoshimura_datam
0
160
AI-DLCでソフトウェア開発の速さは 上がったのか?
rfdnxbro
0
170
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
2
490
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
230
Is the Website Dying?
miriamschwab
0
180
AWS re:Invent 2026 FSI Pre-Event Networking Night
junjikoide
0
250
プラガブルで宣言的なソフトウェアファクトリーを支えるTypeScript
timakin
4
1.1k
AWS Client VPNの設定でハマったポイントとその過程での気づき
amarelo_n24
1
440
正しくWeb サイトを守るためのコンテンツセキュリティーポリシー
hinalin
0
130
エンタープライズIAMについて - ID・権限をどう統制するか
oidfj
1
320
Kiro のリモートワークスペース: IDE は手元のままで、ワークスペースをクラウド、コンテナ、自前のマシンに置く
inariku
PRO
1
200
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
690
Practical Orchestrator
shlominoach
192
12k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
Deep Space Network (abreviated)
tonyrice
0
430
Unsuck your backbone
ammeep
672
58k
The SEO Collaboration Effect
kristinabergwall1
1
630
Become a Pro
speakerdeck
PRO
31
6.4k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
580
Build your cross-platform service in a week with App Engine
jlugia
234
19k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Tell your own story through comics
letsgokoyo
1
1.1k