A Hilt extension that reduces a bit of boilerplate for single implementation bindings. Example usage:
@InstallBinding(SingletonComponent::class)
class AuthenticatorImpl @Inject constructor(): Authenticatorthe above example is equivalent to:
@Module
@InstallIn(SingletonComponent::class)
interface BindAuthModule {
@Binds
fun bind(impl: AuthenticatorImpl): Authenticator
}This is not an official Google product.