Denis BrandiinBetter ProgrammingIntroducing 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
Denis BrandiinBetter ProgrammingThe “Real” Clean Architecture in Android: ModularizationAn overview of the principles behind modularizationApr 3, 202310Apr 3, 202310
Denis BrandiHi 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
Denis BrandiinBetter ProgrammingHow To Avoid Use Cases Boilerplate in AndroidExploring four different approachesAug 24, 202223Aug 24, 202223
Denis BrandiinBetter ProgrammingThe “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
Denis BrandiFew 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
Denis BrandiHi 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
Denis BrandiHi 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
Denis BrandiHi Callum, thanks for reading the article!1) If you put @ViewModelScoped in the use case you are coupling the use case with the DI scope, therefore you can't inject your use case in…May 19, 2021May 19, 2021
Denis BrandiHi Kyn, thanks for reading the article!The first approach is the correct one.May 19, 20211May 19, 20211