Anyone here doing functional Kotlin on Android? I ...
# functional
d
Anyone here doing functional Kotlin on Android? I am interested to hear what wider architecture you are using.
s
In the past I had great success with MVI, since streaming is the highest level of abstraction in FP. It also makes a lot of sense IMO given that front-end is a continuous stream of interactions/events but it requires at least intermediate knowledge/experience with streaming to do well. Note: I haven't done Android since Compose was released, and only experimented with Compose but on first impression I found it works equally well there. Also KotlinX Flow is amazingly well designed. But I think any architecture, MVP or MVVM can benefit from functional Kotlin and in general is applicable to any kind of architecture you might be using today.