publish date
Jun 26, 2022
duration
46
min
Difficulty
Case details
We potentially have in our projects one or another way of communicating User events to the ViewModel/Presenter just so they resolve into actions performed by our Domain layer. Chances are that our project runs heavily on RxJava and our way of leveraging this communication is by using RxBinding. Probably, what comes first to our mind is how fun is to deal with disposables and complicated reactive chains. Maybe, we are migrating to Coroutines and our gut tells us that Flow might be a good replacement for RxBinding, but we are still not sure if we should use just Flow, CallbackFlow, Stateflow, SharedFlow, Channels... hello? Or we simply just call functions directly in our ViewModel/Presenter since, let's face it, our classes are always small and neat, right? * bazinga * What if I tell you that there is a simpler, elegant, and more suitable way of leveraging UI events to your ViewModel/Presenter? In this talk, you will learn how to communicate efficiently UI events to your ViewModel/Presenter. This includes: - How to set it up for MVP, MVVM based projects - How to set it up for Jetpack Compose projects - How to apply Throttling - How to unit test it [color=#111111][color=#111111][size=2][font=Verdana, Arial, Helvetica, sans-serif][color=#111111][size=2][font=Verdana, Arial, Helvetica, sans-serif][size=2][font=Verdana, Arial, Helvetica, sans-serif][h2][b][url=https://drive.google.com/file/d/145buWw6_UvDH9W2qRblvUYgGQI_vGc3y/view?usp=sharing]Slides[/url][/b][/font][/size][/font][/size][/color][/font][/size][/color][/color][color=#111111][color=#111111][size=2][font=Verdana, Arial, Helvetica, sans-serif][color=#111111][size=2][font=Verdana, Arial, Helvetica, sans-serif][size=2][font=Verdana, Arial, Helvetica, sans-serif][/h2][/font][/size][/font][/size][/color][/font][/size][/color][/color]
Share case: