Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A more complex example? #2

Closed
brewin opened this issue Oct 16, 2018 · 14 comments
Closed

A more complex example? #2

brewin opened this issue Oct 16, 2018 · 14 comments

Comments

@brewin
Copy link

brewin commented Oct 16, 2018

It isn't clear to me how this architecture would work with more complex "components". A more fleshed-out example, such as a simple to-do list, would be helpful.

@george-theocharis
Copy link

Indeed! All these mvi / redux architectures sounds good on paper but in complex scenarios it becomes a different kind of beast.

@bernaferrari
Copy link
Contributor

I would like to see RecyclerView and Dialogs using this structure. I tried without success, but Epoxy/MvRx has been the best for me/the closest I could get to multiple states, clean, and testable architecture.

@julianomoraes
Copy link
Owner

Working on this, more to come in the DroidCon SF

@george-theocharis
Copy link

Nice looking forward to it!

@bernaferrari
Copy link
Contributor

I watched it, but I still think you could have gone deeper into it (like with a RecyclerView or a seek bar instead of play/pause)

https://youtu.be/1cWwfh_5ZQs

@george-theocharis
Copy link

I tried the architecture and i think it’s great. It has it’s difficulties, for example what is a component and what’s a mere detail of a screen.

I would like to see from you an example of a dialog, snackbar or recycler view.

@jmcaldera
Copy link

How can we use this with other layers of our app architecture like Presenters/ViewModels or should we get rid of them?

Also if we are using UseCases to communicate with a Repository, should we add the UseCases to Activity/Fragments and make the calls there or maybe create a new object/layer that takes a bus and react according given events?

@timc-mediamonks
Copy link

@julianomoraes are there any updates on this? I am very interested in your take on the "more complex" approach 👍

@bernaferrari
Copy link
Contributor

I've been using MvRx with some insights from Juliano's approach and couldn't recommend anything else!

@julianomoraes
Copy link
Owner

Stay tuned for this year's Droidcon. :)

@bernaferrari
Copy link
Contributor

Which one? 😔

@julianomoraes
Copy link
Owner

@bernaferrari
Copy link
Contributor

You read a lot. We like that.
You’ve reached the end of your free member preview for this month. Upgrade for unlimited access.

Could you please disable the medium paywall for that article?

@julianomoraes
Copy link
Owner

done

@brewin brewin closed this as completed Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants