Example usage of dagger assist annotation
For more information visit documentation:
Example usage of dagger assist annotation
For more information visit documentation:
| ProductsFragment { | |
| @Inject | |
| lateinit var menuBehaviorFactory: MenuItemSearchBehavior.Factory | |
| ... | |
| init { | |
| InjectorProvider.requireAccountComponent().inject(this) | |
| val hint = translateFromKey(com.cmcmarkets.translations.R.string.key_search_products) | |
| addBehavior( | |
| menuBehaviorFactory.create( | |
| fragment = this, | |
| hint = hint, | |
| ) | |
| ) | |
| } | |
| ... | |
| } |