Leveraging fold operator in Kotlin flow to optimize Room DB upsertsHey everyone, today we will look into an interesting topic to optimize room DB upserts using fold in Kotlin flow. The case? We are working on a chat application where we fetch a list of chats in pages from the network and upsert it into DB as it is a...6 min read·tusharpingale.hashnode.dev2ISNov 21, 2023
Creating custom shapes with paths in jetpack composeIn Jetpack compose, we can clip our view with shapes such as Rounded rectangles, circles, etc. But what if we need to have our own shapes? Here comes to our rescue Paths. Let us take the below example of a chat message box. From the above image, as...5 min read·tusharpingale.hashnode.devJul 31, 2022
Building your own custom layout with jetpack composeLeveraging the power of jetpack compose7 min read·tusharpingale.hashnode.dev1JJun 25, 2022