Alex Zaitsevalexzaitsev.hashnode.dev·Oct 19, 2023Memory leaks in Fragments: Data Binding and Live Data hidden threatsUnfortunately, in 2023 not all the projects migrated to Jetpack Compose. If this is your case and your project is still running on Fragments, most probably it uses Data Binding and Live Data libraries. However, with this tech stack, it’s very easy to...Discuss·259 readsAndroid
Kumarkmdev.hashnode.dev·Jul 29, 2023StateFlow vs Flow vs SharedFlow vs LiveData:When to Use What in Android DevelopmentIntroduction: In Android development with Kotlin, there are several options available for observing data changes, such as StateFlow, Flow, SharedFlow, and LiveData. Each of these options has its own unique characteristics and use cases. In this blog ...Discuss·1 like·51 readsAndroid
Kumarkmdev.hashnode.dev·Jul 23, 2023Exploring LiveData in Kotlin for Android DevelopmentIntroduction: LiveData is a powerful and essential component of the Android Architecture Components. It provides a way to observe and react to changes in data, ensuring that the UI is always up to date with the latest information. In this blog post, ...Discuss·46 readsKotlin
Rivu ChakrabortyforRivu's Blogrivuchk.hashnode.dev·Jul 5, 2020Why Emitting State from Repository is an Anti-PatternIn 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...DiscussAndroid