Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Exposing Network Result Status in MVVM
Search
ValentineRutto
April 10, 2021
Programming
0
83
Exposing Network Result Status in MVVM
Different ways to handle network result status in mvvm design achitecture
ValentineRutto
April 10, 2021
Tweet
Share
More Decks by ValentineRutto
See All by ValentineRutto
Kickstarting your tech career
valentinerutto
1
48
The D in SOLID Principles
valentinerutto
0
220
Consuming Rest Api with retrofit in Android
valentinerutto
0
240
Complex ui animation with Motion layout
valentinerutto
0
100
Tech Opportunities
valentinerutto
1
99
Network_Security_in_Android.pdf
valentinerutto
0
66
Android paging library
valentinerutto
0
260
Android Room persistence library
valentinerutto
0
160
UI/UX FOR MOBILE
valentinerutto
0
260
Other Decks in Programming
See All in Programming
JETLS.jl ─ A New Language Server for Julia
abap34
2
460
実はマルチモーダルだった。ブラウザの組み込みAI🧠でWebの未来を感じてみよう #jsfes #gemini
n0bisuke2
3
1.3k
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
130
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
430
Java 25, Nuevas características
czelabueno
0
120
gunshi
kazupon
1
120
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
380
AIコーディングエージェント(skywork)
kondai24
0
210
tparseでgo testの出力を見やすくする
utgwkk
2
290
開発に寄りそう自動テストの実現
goyoki
2
1.4k
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
4
980
これならできる!個人開発のすゝめ
tinykitten
PRO
0
130
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
6.7k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.8k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
89
The SEO identity crisis: Don't let AI make you average
varn
0
39
Are puppies a ranking factor?
jonoalderson
0
2.4k
Skip the Path - Find Your Career Trail
mkilby
0
27
Tell your own story through comics
letsgokoyo
0
770
Speed Design
sergeychernyshev
33
1.4k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
61
40k
Agile that works and the tools we love
rasmusluckow
331
21k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
2
2.8k
Transcript
@ValentineRutto, Android Engineer Exposing Network result state in MVVM
ValentineRutto Android Engineer-@Dlight Twitter | Linkedin | Medium | Github
| Instagram @valentinerutto
• Model - business logic • View - consists of
ui code • Viewmodel- bridge between model and view What is MVVM Architecture?
Structure? Image from blog.mindorks
• Loading • Success • Error :- Server Error, Network
Error, Unknown Error. Network Status?
• Resource Class A class that encapsulate both data and
its state • Using a network response adapter https://haroldadmin.github.io/NetworkResponseAdapter Ways to expose network Status:
Resources Guide to app architecture by developer.android.com Network Response Adapter
libray by harold
Demo Github Code https://github.com/valentineRutto/ricknmorty
Thank You Twitter | Linkedin | Medium | Github @valentinerutto