Last active
March 27, 2022 10:03
-
-
Save manoj-mili/51436ab2010a121886ad7054ec3118a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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