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
i just followed the tutorials here and trying to make an android app I made a module class and a component interface and also wrote all the annotations related too classes and objects for them but still the class Daggercomponent is not generated for me
also added all 4 lines of code to dependencies in app gradle
whats the problem ?(i tried to find annotation processor option in android studio 3.1.2 but its no where to be found)
`@Module
class globals {
lateinit var volleyinstance:VolleyController
fun golobals(volley:VolleyController){
volleyinstance=volley
}
@Provides
@Singleton
fun provideVolley():VolleyController{
return volleyinstance
}
}`
Main class
`class MainActivity : AppCompatActivity() {
@Inject lateinit var volleyController:VolleyController
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
}`
The text was updated successfully, but these errors were encountered:
i just followed the tutorials here and trying to make an android app I made a module class and a component interface and also wrote all the annotations related too classes and objects for them but still the class Daggercomponent is not generated for me
also added all 4 lines of code to dependencies in app gradle
whats the problem ?(i tried to find annotation processor option in android studio 3.1.2 but its no where to be found)
component
module
Main class
`class MainActivity : AppCompatActivity() {
The text was updated successfully, but these errors were encountered: