O
O
Oleg Gamega2015-02-15 14:57:10
Android
Oleg Gamega, 2015-02-15 14:57:10

Who uses Dagger how?

I thought about how to improve the architecture of my projects, I found an example of a mvp project using dagger https://github.com/jlmd/UpcomingMoviesMVP but it seems to me overly complicated for mobile development, it reminds me a bit of spring projects, but remembering limited resources ....
Actually the question is, who uses dagger how, heard a lot of good things about it, and square developers are trustworthy

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Emin, 2015-05-27
@Ewintory

I use to inject all sorts of Picasso, Bus as a singleton, various services for receiving data. But what pleases me the most is the ability to quickly "mock" services with fake data, especially when there is no data in the real database at the initial stage. I spied on this approach here:
https://github.com/jparkie/GivesMeHopeAndroidClien...
Here, for example overrides = true, it allows you to replace real modules with services with fake ones during debug assembly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question