codelab-android-dagger icon indicating copy to clipboard operation
codelab-android-dagger copied to clipboard

Need to call the inject method from RegistrationActivity#onCreate

Open dgoldhirsch opened this issue 4 years ago • 0 comments

Step @Component describes the need for an #inject method to be used by the RegistrationActivity, but omits to call that method from the #onCreate method of that activity. The student should be told to add

(application as MyApplication).appComponent.inject(this)

before anything else happens, in #onCreate.

dgoldhirsch avatar May 28 '21 15:05 dgoldhirsch