Pedro Francisco de Sousa Neto
08/27/2023, 11:26 PMWhile using definitions, you may need to organize them in modules or not. You can even not use any module at all and use the “default” generated module. link1) How is the cost of NOT use annotated modules? Thinking in a super app, like 90+ modules currently… I don’t know maybe a thousand of them. 2) I didn’t saw anything about tied scope using annotations for android activity. Is it possible yet? If not, why? For example, a module tied to SpecialActivity. 3) The usage of
@ComponentScan
can optimize ksp some how?arnaud.giuliani
08/29/2023, 12:45 PMarnaud.giuliani
08/29/2023, 12:47 PMarnaud.giuliani
08/29/2023, 12:47 PM@Scope
class MyScope
@Scoped(MyScope::class)
class MyComponent
arnaud.giuliani
08/29/2023, 12:47 PMarnaud.giuliani
08/29/2023, 12:48 PMscope<MyScope> {
scoped { MyComponent() }
}
arnaud.giuliani
08/29/2023, 12:49 PMPiotr Prus
09/12/2023, 9:07 AM@Scope
class MyScope
@Scoped(MyScope::class)
class MyComponent
to make viewModelScoped as dagger hilt?
I want one of my useCases to be scoped in viewmodel, so it is created with viewmodel and destroy with viewmodelarnaud.giuliani
09/12/2023, 9:47 AMarnaud.giuliani
09/12/2023, 9:47 AMPiotr Prus
09/12/2023, 9:58 AMarnaud.giuliani
09/13/2023, 7:01 AMPiotr Prus
09/13/2023, 7:12 AMarnaud.giuliani
09/13/2023, 7:17 AMarnaud.giuliani
09/13/2023, 8:37 AMPiotr Prus
09/13/2023, 9:08 AM