Published inClean Android DevModeling ViewModel State in Android: A Guide to Clean, Scalable PatternsPoorly designed models create a cascade of complications for every component that depends on them. In the case of presentation models, when…Nov 47Nov 47
Published inClean Android DevHow to “Safely” Migrate from Retrofit to KtorRetrofit has long been a cornerstone of Android development, offering a straightforward, efficient, and dependable way to manage network…Oct 1Oct 1
Published inClean Android DevIntroducing NetMock: Simplifying HTTP Request Testing in Java, Android, and Kotlin MultiplatformLet’s get rid of the complexities of simulating requests and responses in testing environmentsJun 14, 20232Jun 14, 20232
Published inClean Android DevThe “Real” Clean Architecture in Android: ModularizationAn overview of the principles behind modularizationApr 3, 202310Apr 3, 202310
Hi Jeonhoeun, thanks for reading the article!Like I show in the article, in Dagger you have to do the following:Aug 31, 2022Aug 31, 2022
Published inClean Android DevHow To Avoid Use Cases Boilerplate in AndroidExploring four different approachesAug 24, 202225Aug 24, 202225
Published inClean Android DevThe “Real” Clean Architecture in Android: S.O.L.I.D.If you think good architecture is expensive, try bad architecture. ~ Brian Foote and Joseph YoderJul 18, 202211Jul 18, 202211
Few comments based on your reply:1. Use cases can receive only entities, if they receive DTOs it means they know about the outer layer and so the dependency rule is…Oct 30, 20212Oct 30, 20212
Hi Bawenang, thanks for reading the article!The repository is the interface adapter of the persistence, where the repository interface is the secondary port of the domain and the…Sep 30, 20211Sep 30, 20211
Hi Eric, thanks for reading the article!I used `ProductDTO` in the example where both network and database datasources where sharing the same model object rather than having 1…Jul 7, 2021Jul 7, 2021