---
title: "Rivu Chakraborty (@rivuchakraborty) | Hashnode"
description: "Mobile Leader, India's first GDE for Kotlin. Read the latest articles by Rivu Chakraborty on Hashnode."
url: "https://hashnode.com/@rivuchakraborty"
---

@rivuchakraborty

# Rivu Chakraborty

@rivuchakraborty · Bangalore · Joined October 2024

Mobile Leader, India's first GDE for Kotlin

### [Why Emitting State from Repository is an Anti-Pattern](https://rivuchk.hashnode.dev/why-emitting-state-from-repository-is-an-anti-pattern?utm_source=hashnode&utm_medium=feed)

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 address why retur...

6 min read · [rivuchk.hashnode.dev](https://rivuchk.hashnode.dev/why-emitting-state-from-repository-is-an-anti-pattern?utm_source=hashnode&utm_medium=feed)

[Jul 5, 2020](https://hashnode.com/posts/why-emitting-state-from-repository-is-an-anti-pattern/674029ff11659d5768b4ec51)

### [Breaking the ice: Service Locator and Dependency Injection Which is What](https://rivuchk.hashnode.dev/breaking-the-ice-service-locator-and-dependency-injection-which-is-what?utm_source=hashnode&utm_medium=feed)

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 Android Developers, most of...

9 min read · [rivuchk.hashnode.dev](https://rivuchk.hashnode.dev/breaking-the-ice-service-locator-and-dependency-injection-which-is-what?utm_source=hashnode&utm_medium=feed)

[Jun 12, 2020](https://hashnode.com/posts/breaking-the-ice-service-locator-and-dependency-injection-which-is-what/67402a049a86730f9be68a0e)

### [Writing Unit Tests efficiently in Android with Spek](https://rivuchk.hashnode.dev/writing-unit-tests-efficiently-in-android-with-spek?utm_source=hashnode&utm_medium=feed)

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 to test this be...

14 min read · [rivuchk.hashnode.dev](https://rivuchk.hashnode.dev/writing-unit-tests-efficiently-in-android-with-spek?utm_source=hashnode&utm_medium=feed)

[Apr 19, 2020](https://hashnode.com/posts/writing-unit-tests-efficiently-in-android-with-spek/67402a1043d7dca01870060f)

### [Why You should focus more on Design Patterns than DS for Sr. / Lead Android interviews](https://rivuchk.hashnode.dev/why-you-should-focus-more-on-design-patterns-than-ds-for-sr-lead-android-interviews?utm_source=hashnode&utm_medium=feed)

I'm giving and taking interviews for a long time now (obviously giving interviews for a longer time than taking interviews), I gave interviews to a few big startups/companies (I now work at one of them 😉), I also took a lot of interviews (currently ...

7 min read · [rivuchk.hashnode.dev](https://rivuchk.hashnode.dev/why-you-should-focus-more-on-design-patterns-than-ds-for-sr-lead-android-interviews?utm_source=hashnode&utm_medium=feed)

[Apr 18, 2020](https://hashnode.com/posts/why-you-should-focus-more-on-design-patterns-than-ds-for-sr-lead-android-interviews/67402a185ed174651d3ac6f8)

### [Writing Android UI Code in Jetpack Compose](https://rivuchk.hashnode.dev/writing-android-ui-code-in-jetpack-compose?utm_source=hashnode&utm_medium=feed)

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 Compose. During Google IO 201...

7 min read · [rivuchk.hashnode.dev](https://rivuchk.hashnode.dev/writing-android-ui-code-in-jetpack-compose?utm_source=hashnode&utm_medium=feed)

[May 13, 2019](https://hashnode.com/posts/writing-android-ui-code-in-jetpack-compose/67402a1e6893796523e0617e)
