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

Oleksii Malovanyi

08/09/2021, 3:31 PM
Correct me if I’m wrong but the latest
2.4.0
release uses alpha version of androidx.lifecycle library. I have a wish and a request to write about things like this (alpha/beta versions of 3rd party dependencies) in release notes, maybe even with extra exclamation marks ⚠️ E.g. for us it’s a blocker to update orbit to
2.4.0
as we don’t have much faith in google’s alpha-beta quality…
a

appmattus

08/09/2021, 9:00 PM
We can certainly update release notes to say as such. We were left in a bit of a predicament with the use of that version for the observe function. You can force the library to use an older version and everything except that will work just fine. The reason for the need is unless you’re going to replicate the functionality of repeatOnLifecycle it’s the only correct way to observe the streams - more so for side effects. For background see https://link.medium.com/dNGujhSFAib
m

Mikolaj Leszczynski

08/10/2021, 7:07 AM
Good point @Oleksii Malovanyi, I’ve updated the release notes https://github.com/orbit-mvi/orbit-mvi/releases/tag/4.2.0
o

Oleksii Malovanyi

08/10/2021, 7:10 AM
Thanks guys! Thanks for the tips as well -> sure I see the reason why you’ve picked up alpha version ahead of time, and while it’s your creation I respect you could do anything with it, and with no pressure there is just my wish to know about things like that as a client 👍
m

Mikolaj Leszczynski

08/10/2021, 7:11 AM
that’s all fair, and we’ll keep this in mind for the future
we hesitated ourselves to put this in so I’m sure most people would feel the same!
PS the
4.2.0
release includes
repeatOnSubscription
which I think would be useful to you 😉
o

Oleksii Malovanyi

08/10/2021, 7:13 AM
YAS metal I’ve noticed. I had this issue before and had to solve it on the “port” (android framework) side. Super cool feature
4 Views