Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class ConfigProviderImpl(private val remoteConfig: FirebaseRemoteConfig) :
IConfigProvider() {
override fun getString(key: String): String {
return remoteConfig.getString(key)
}
override fun getBoolean(key: String): Boolean {
return remoteConfig.getBoolean(key)
}
override fun getDouble(key: String): Double {
return remoteConfig.getDouble(key)
}
//and other implementations
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment