I'm using AndroidAnnotations in my project and just hooked Dagger + Robolectric + Espresso in.
Currently I have an Activity with SharedPrefences and a class 'injected' by AndroidAnnotations.
public class SomeActivity extends Activity {
@Pref Prefs_ prefs;
@Bean SomeManager mManager;
}
Now if I want to use a Dagger to inject these two, what my @Provide
methods should look like?
Thank you very much.