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 environments5 min read·Jun 14, 2023--2--2
Denis BrandiinBetter ProgrammingThe “Real” Clean Architecture in Android: ModularizationAn overview of the principles behind modularization19 min read·Apr 3, 2023--10--10
Denis BrandiHi Jeonhoeun, thanks for reading the article!Like I show in the article, in Dagger you have to do the following:1 min read·Aug 31, 2022----
Denis BrandiinBetter ProgrammingHow To Avoid Use Cases Boilerplate in AndroidExploring four different approaches4 min read·Aug 24, 2022--22--22
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 Yoder16 min read·Jul 18, 2022--11--11
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…2 min read·Oct 30, 2021--2--2
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…1 min read·Sep 30, 2021--1--1
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…1 min read·Jul 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…2 min read·May 19, 2021----
Denis BrandiHi Kyn, thanks for reading the article!The first approach is the correct one.1 min read·May 19, 2021--1--1