Search code examples
androidgithubroboguice

How this field injected in github android?


I know the github Android app using RoboGuice, and field injection needs the module to bind.

But I can not found the module that is supposed to bind the field "accountDataManager" in the com.github.mobile.ui.user.HomeActivity. And it is not the only one like this.

It just uses an @Inject attribute, but no module can be found.

Can anybody tell me how it works?


Solution

  • For using @InjectView you need to use ButterKnife view injection library. Check this link for more ButterKnife