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
MVVM Architecture with Room
Search
AndroidDev Surabaya
December 20, 2019
Technology
0
63
MVVM Architecture with Room
AndroidDev Surabaya
December 20, 2019
Tweet
Share
More Decks by AndroidDev Surabaya
See All by AndroidDev Surabaya
Meetup Desember : AndroidDev Surabaya Overview
androiddevsurabaya
0
36
Android : Easy Phone Authentication using Firebase
androiddevsurabaya
0
61
Mengatur Tampilan dan Tata Letak di Android
androiddevsurabaya
0
92
Build More with KOTLIN Anko | AndroidDevSBY Meetup 11
androiddevsurabaya
0
110
The Magic of Kotlin
androiddevsurabaya
0
160
BE AN ANDROID EXPERT - AndroidDev Surabaya Meetup #9
androiddevsurabaya
0
130
How To Consume Api On Android Using Retrofit - Meetup AndroidDev Surabaya #8
androiddevsurabaya
1
57
#KartiniZamanNow - Meetup AndroidDev SBY #7
androiddevsurabaya
0
75
Learn Android UI #4 - Meetup AndroidDev Surabaya #7
androiddevsurabaya
0
110
Other Decks in Technology
See All in Technology
顧客が本当に必要だったもの - パフォーマンス改善編 / Make what is needed
soudai
24
6.7k
[JAWS-UG金沢支部×コンテナ支部合同企画]コンテナとは何か
furuton
3
240
プロダクト成長に対応するプラットフォーム戦略:Authleteによる共通認証基盤の移行事例 / Building an authentication platform using Authlete and AWS
kakehashi
1
150
バクラクにおける可観測性向上の取り組み
yuu26
3
410
CAMERA-Suite: 広告文生成のための評価スイート / ai-camera-suite
cyberagentdevelopers
PRO
3
270
現地でMeet Upをやる場合の注意点〜反省点を添えて〜
shotashiratori
0
520
AWSコンテナ本出版から3年経った今、もし改めて執筆し直すなら / If I revise our container book
iselegant
15
3.9k
チームを主語にしてみる / Making "Team" the Subject
ar_tama
4
310
30万人が利用するチャットをFirebase Realtime DatabaseからActionCableへ移行する方法
ryosk7
5
330
プロダクトエンジニアが活躍する環境を作りたくて 事業責任者になった話 ~プロダクトエンジニアの行き着く先~
gimupop
1
480
VPC間の接続方法を整理してみた #自治体クラウド勉強会
non97
1
820
Forget efficiency – Become more productive without the stress
ufried
0
110
Featured
See All Featured
Unsuck your backbone
ammeep
668
57k
Code Reviewing Like a Champion
maltzj
519
39k
Documentation Writing (for coders)
carmenintech
65
4.4k
4 Signs Your Business is Dying
shpigford
180
21k
Building an army of robots
kneath
302
42k
Designing Experiences People Love
moore
138
23k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
504
140k
Why You Should Never Use an ORM
jnunemaker
PRO
53
9k
Building Applications with DynamoDB
mza
90
6.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
290
A Philosophy of Restraint
colly
203
16k
BBQ
matthewcrist
85
9.3k
Transcript
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