I am trying to create a tab layout . So,I am trying to inject an instance of FragmentManager to pass into the constructor of the ViewPagerAdapter. While doing this I'm getting this Error:
Error:(16, 10) error: android.app.FragmentManager cannot be provided without an @Provides- or @Produces-annotated method. android.app.FragmentManager is injected at example.XYZ.com.tabsdagger.MainActivity.fragmentManager example.XYZ.com.tabsdagger
0 Answer(s)