In this post, as the title suggests, I'll discuss why one shouldn't emit View States (or as some people prefer to call it Resource nowadays) from Repository, and why is it Anti-Pattern IMO. While discussing that, this post will also
AndroidDev
A collection of 5 posts
Breaking the ice: Service Locator and Dependency Injection Which is What
There is a very thin lining of difference between Service Locator (in short SL) and Dependency Injection (in short DI). Most people get confused with these terms, even I was confused with them for so long. Even more so for
Writing Unit Tests efficiently in Android with Spek
Ever thought organizing test cases in Android are cumbersome? For instance, you have a function and there are 3 scenarios you want to test, for example, for 3 different inputs, it's supposed to return 3 different outputs, and you want
Why You should focus more on Design Patterns than DS for Sr. / Lead Android interviews
Then how to check the candidate's skills properly? frameworks may change any day, there's only so much good questions you can ask in a framework
Writing Android UI Code in Jetpack Compose
Note: This article was published back in May, 2019, just after Jetpack Compose got announced in Google IO. A lot changed since then, including all the APIs discussed here. And you no longer need to fork AOSP, just to use