4. DAGGER USAGE
Components Object
Find object
@Inject
Take all fields with annotation, look in the component and find the object by type, and set the
field.
5. DAGGER USAGE
@Inject Picasso Picasso;
@ Inject Preference preference onject
// in oncreate function
getComponent().inject(this)
Take all fields with annotation, look in the component and find the object by type, and set the field.