Slide 26
Slide 26 text
Generated source code
public final class AnalyticsManager$$InjectAdapter extends Binding
implements Provider {
private Binding app;
public AnalyticsManager$$InjectAdapter() {
super("frogermcs.io.githubclient.utils.AnalyticsManager", "members/
frogermcs.io.githubclient.utils.AnalyticsManager", IS_SINGLETON,
AnalyticsManager.class);
}
@Override
@SuppressWarnings("unchecked")
public void attach(Linker linker) {
app = (Binding)
linker.requestBinding("android.app.Application", AnalyticsManager.class,
getClass().getClassLoader());
}
@Override
public void getDependencies(Set> getBindings, Set>
injectMembersBindings) {
getBindings.add(app);
}
@Override
public AnalyticsManager get() {
AnalyticsManager result = new AnalyticsManager(app.get());
return result;
}
}