You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
In step 7 it goes into detail about how to provide a context
it tells us... The way to pass it in is with a Component Factory and using the @BindsInstance annotation.
If I build straight after this i get the error... android.content.Context cannot be provided without an @Provides-annotated method.
To fix this issue I annoted property in the class that context is used like so..
class SomeClass @Inject constructor( @ApplicationContext private val context: Context )
The text was updated successfully, but these errors were encountered:
In step 7 it goes into detail about how to provide a context
it tells us...
The way to pass it in is with a Component Factory and using the @BindsInstance annotation.
If I build straight after this i get the error...
android.content.Context cannot be provided without an @Provides-annotated method.
To fix this issue I annoted property in the class that context is used like so..
class SomeClass @Inject constructor( @ApplicationContext private val context: Context )
The text was updated successfully, but these errors were encountered: