android getting NULL error on inject DI into class
I can make DI from some class to use in application such as Retrofit , Picasso . they can work fine when i use them on Activity but when i try to use some DI on other class i get NULL, for exmple this code work fine public class ActivityRegister extends BaseActivities { @Inject GithubService githubService; @Inject JobManager jobManager; @Override public void onCreate(@Nullable Bundle savedInstanceState) { ... repositoryCall = githubService.getAllRepositories(); ... } private void getRepositories() { repositoryCall.enqueue(new Callback<List<GithubRepo>>() { @Override public void onResponse(Call