https://kotlinlang.org logo
#android
Title
# android
i

Icaro Temponi

01/27/2019, 1:49 AM
Is anyone using MvRx? How good is it? Any recommendation of a lib or framework to tame the "dragon called state"? I feel like I could optimize my workflow by containing mutations and impurities (in a FP sense) and would like to ask you some recommendations about this kind of tools.
google 2
d

David

01/27/2019, 11:24 AM
Planning too on my next module refactor! I think a recent tweet by G. Peal had a thread coming off it where people were discussing using it. head there? His handle is gpeal8
g

ghedeon

01/27/2019, 11:35 AM
not my cup of tea, feels too heavy but Chris Banes is playing with it in his demo app: https://github.com/chrisbanes/tivi
i

Icaro Temponi

01/27/2019, 11:56 AM
thanks @ghedeon, a demo will help me a lot. thanks @David, I'll check the tweet right now to see what do they think about it.
i

Icaro Temponi

01/27/2019, 12:05 PM
thanks again, was having a hard time finding it 🙂
j

Jirka

01/27/2019, 12:40 PM
I wrote a review on MvRx yesterday 🙂
i

Icaro Temponi

01/27/2019, 12:40 PM
awsome! I'll read it right now, thanks
✔️ 1
j

Jirka

01/27/2019, 12:41 PM
Alrighty, if you’d have any more questions don’t mind messaging me. I’ve also struggled a bit to make it Dagger compatible and was using with Koin integration as well.
i

Icaro Temponi

01/27/2019, 12:42 PM
Is it easier to integrate with Koin? that's the DI solution I'm using currently
j

Jirka

01/27/2019, 12:43 PM
It definitely is
i

Icaro Temponi

01/27/2019, 12:43 PM
Nice, good to know
j

Jirka

01/27/2019, 12:43 PM
Koin is pain tho if you have a bigger project because of it’s performance impacts and scoping disability
i

Icaro Temponi

01/27/2019, 12:44 PM
Oh, I see. Just hope 2.0 will speed that up.
j

Jirka

01/27/2019, 12:45 PM
Generally speaking Koin 2 is twice times faster than Koin 1, but it’s just nowhere as Dagger2 code generation. That’s just blazing fast compared to Koin.
g

ghedeon

01/27/2019, 12:47 PM
@Jirka you said twice that Mobius is FP oriented. Is it Spotify Mobius? It didn't look very different from the other MVI solutions and I kinda like that it's not RX bounded.
i

Icaro Temponi

01/27/2019, 12:47 PM
Hm, interesting, considering I just moved from Fuel to Retrofit, wouldn't surprise me to move another lib to a more "mainstreamy" solution when the need arises.
j

Jirka

01/27/2019, 12:47 PM
It is way more FP aware than other libs out there, to me it is the closest to the pure state machine solution.
Yeah and I mean the Spotify’s Mobius 🙂
i

Icaro Temponi

01/27/2019, 12:49 PM
Heard about it but didn't look much deep though. Considering Spotify's using it in their mobile app must be worth taking a looking.
j

Jirka

01/27/2019, 12:50 PM
It is definitely more complex to understand and use than MVI to me. But they have led a presentation and explained it very well. There was a video shared on Facebook regarding that.
g

ghedeon

01/27/2019, 12:57 PM
@Icaro Temponi Good luck with your findings. Just because you started the topic, don't feel obliged to immideattely reconfirm everybody's reply with "thanks" and "will try" 😉.
i

Icaro Temponi

01/27/2019, 12:59 PM
Hm, so I can't say thanks to your don't say thanks advice? 🤔, hehe
Anyway, thanks everybody, all that content will help me a lot 😄
😉 1
j

Jirka

01/27/2019, 1:05 PM
You are welcome 🙂