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 4, 2024A response icon8Nov 4, 2024A response icon8
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 1, 2024Oct 1, 2024
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, 2023A response icon2Jun 14, 2023A response icon2
Published inClean Android DevThe “Real” Clean Architecture in Android: ModularizationAn overview of the principles behind modularizationApr 3, 2023A response icon10Apr 3, 2023A response icon10
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, 2022A response icon25Aug 24, 2022A response icon25
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, 2022A response icon11Jul 18, 2022A response icon11
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, 2021A response icon2Oct 30, 2021A response icon2
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, 2021A response icon1Sep 30, 2021A response icon1
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