https://kotlinlang.org logo
#orbit-mvi
Title
# orbit-mvi
m

miqbaldc

05/04/2021, 8:49 AM
found this

great talks

from Luca Nicoletti, the sample shown using orbit earlier version with alpha version of jetpack compose Stocklist, Post & Calculator seems using Views, cmiiw if there’s a sample on v3.1.1 using Jetpack Compose already that I’m not aware of 🙏
m

Mikolaj Leszczynski

05/07/2021, 8:41 AM
No sample yet, it’s on our to-do list 🙂
There’s not much to it though, you use
Container.stateFlow.consumeAsState()
✍️ 1
the rest really is up to compose
a

appmattus

07/07/2021, 10:35 PM
I’m creating the sample at the moment, although as mikolaj mentions consuming it isn’t much of a problem. Converting the whole of the UI to Compose is taking me the time 🤣
m

miqbaldc

07/08/2021, 5:27 AM
niceee, will check it out!
Agreed, migrating the old Views to Jetpack Compose was the time consuming 😆
a

appmattus

07/13/2021, 1:38 PM
I just played with uniflow myself today, what was your impression @miqbaldc?
m

miqbaldc

07/13/2021, 1:51 PM
IMHO, The
uniflow
maintainer seems a bit outdated atm. Also it's seems not KMM ready due to coupled with
LiveData
afaik.
Didn't catch up with the library in this few months.
Their documentation (README) & samples was good for starter (they forked official jetpack composs) Also the parallel or multiple stream supported by their API
a

appmattus

07/13/2021, 3:43 PM
Yeah the docs are nice, very easy to follow. It’s something we’re looking to improve on ourselves. At the moment @Mikolaj Leszczynski is working on publishing what we’ve got to a better looking website but there are no doubt plenty of things missing too.
🙏 1
👍 1
❤️ 1
Not sure how I feel about multiple streams! It’s too easy to slip back into the pattern of these being tightly coupled as they often were when using live data in MVVM in the first place, but perhaps I’m missing something.
4 Views