Канал об Android (Андроид) разработке
Сайт - http://startandroid.ru
Чат - https://t.me/startandroidchat
Контакты - https://startandroid.ru/ru/about/cntct5.html
Реклама - https://startandroid.ru/ru/about/reklama.html
РКН - https://shorturl.at/p7iUr
Post #1754
5.56K
Полезные советы по работе с репозиториями:
Rule 1 — Don’t use JSON/SQL model in the Repository methods
Rule 2 — Repository is not a group of backend endpoints
Rule 3 — Repository is not a database table
Rule 4 — Not every Repository needs a Data Source
#android #architecture #bestpractice
https://itnext.io/android-data-repository-a-simple-pattern-that-we-often-misunderstand-6a6fb13b5a81
Rule 1 — Don’t use JSON/SQL model in the Repository methods
Rule 2 — Repository is not a group of backend endpoints
Rule 3 — Repository is not a database table
Rule 4 — Not every Repository needs a Data Source
#android #architecture #bestpractice
https://itnext.io/android-data-repository-a-simple-pattern-that-we-often-misunderstand-6a6fb13b5a81
- 👍 10








