https://kotlinlang.org logo
#android
Title
# android
l

lawlorslaw

04/02/2020, 7:04 PM
In Kotlin you can have a file that contains multiple class or interface definitions. when this is the case what name do you give to your file? For example if you had Dagger in your project and you wanted to group the
@Component
and
@Module
defined in the same file what would you name that file?
g

Greg Rami

04/02/2020, 8:21 PM
*Dagger or *Di :)
i

Ilya Nekrasov

04/02/2020, 9:01 PM
`Feature`DaggerBindings can fit for you, I think, where feature is a name of screen or app module.
👍 1