Kotlin Flow: Best PracticesSince few months, @Geev, we used Kotlin Flow inside our Android application. It is a really beautiful library to use, it helps us to write…Aug 3, 2022A response icon3Aug 3, 2022A response icon3
Redundant DTO-Domain Mapping in Kotlin FlowWithin a flow, we use map to convert a DTO to a Domain object. We could create a custom operator and map DTO to Domain with it in one line.Jul 3, 2022A response icon9Jul 3, 2022A response icon9
Kotlin Flow in Clean Architecture and MVVM Pattern with AndroidThe first goal when developing an Android application is to have a code easy to test and painless to maintain. We must use an architecture…Jun 3, 2022A response icon6Jun 3, 2022A response icon6
Reduce verbosity in Kotlin FlowReducing verbosity has many advantages. With the next few tricks, we can improve the readability of our flows, making the code even…May 3, 2022May 3, 2022
Published inLevel Up CodingUnit Test with Kotlin FlowWhen we develop a feature, we need to write unit tests for each section of the functionality. It is a huge and necessary part of the…Apr 3, 2022A response icon1Apr 3, 2022A response icon1
Handle exceptions in callbackFlow with KotlinIn our android app @Geev, we tried Kotlin Flow to handle Websockets calls for our new instant messaging. We mostly used callbackFlow…Mar 3, 2022A response icon1Mar 3, 2022A response icon1
Websockets states with Kotlin StateFlowFollowing our journey with Kotlin Flow on Android @Geev, we tried to share the Websockets states all over the app.Feb 3, 2022A response icon2Feb 3, 2022A response icon2
Published inProAndroidDevKotlin Flow: The easy way to deal with local and remote data@Geev, we needed to redesign our current messaging feature. We thought to improve it as an instant messaging. We made a Proof of Concept…Jan 3, 2022Jan 3, 2022
Using Bluetooth Low Energy between Raspberry Pi and FlutterMonths ago, I built a printed lighthouse weather station. It used Classical Bluetooth to communicate between a Raspberry Pi in Python and a…Jun 24, 2021A response icon1Jun 24, 2021A response icon1
How I built a lighthouse weather station?My dad is a Brittany lover. If he could, he would live in a lighthouse. For his birthday, I thought to giving him a connected lighthouse…Dec 30, 2020Dec 30, 2020