I have a situation, I have injected all objects using Dagger 2, But in one situation I am unable to rectify how to inject the object.
Following is the situation
mPager.setAdapter(new MyPagerAdapter(this));
Now in the above statement, I have to inject the MyPagerAdapter object using Dagger, but it requires current activity context.
So how to forward the activity context to the Dagger module?