Demystifying the new Dagger Android Injection API 2.10+
James Shvarts

I have a question here. How can i get the Activity/Fragment’s context not the app scope context inside ActivityModule. For example.


public class ActivtyModule {


Context provideContext() {

return // here what should i return?



Like what you read? Give Moe Junior a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.