doridori / Dynamo

A lightweight state-based controller for Android
186 stars 6 forks source link

More Examples needed #2

Open doridori opened 9 years ago

doridori commented 9 years ago

Should add some tests in for these also

fahimk commented 9 years ago

Thanks for sharing this library, seems like an interesting approach to decoupling logic from the activity/fragment/view lifecycle.

I think it would be helpful to see some Dagger (for both the simple and advanced use cases mentioned in the wiki) and RxJava examples. Something that could be used to demonstrate how this could work at a large scale. If I get some time I might build an example project that demonstrates using Dynamo to build a weather app or something similar on a separate repo.

doridori commented 9 years ago

No problem and thanks for taking an interest! I hope its useful to you in some way.

I will get onto some Dagger examples yes - as mentioned on the front page I am first focusing my effort on dependency-less examples as I feel it can be a barrier to entry for some newer Android devs as they have to grok Dagger (or some other lib) first before understanding the new concepts presented here. Same applies to RxJava too. I am viewing these as supplementary examples atm, but they are on the roadmap :)

If you do create any example projects that would be great - I look forward to seeing it :)