Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* common remote config data source for configs used in more than 1 module
class CommonRemoteConfigData(private val config: IConfigProvider) {
fun getListOfEnabledCities(): List<String>? {
return config.dataFromJson(
fun isServiceEnabled(): Boolean {
return config.getBoolean("SOMEKEY")
// and other such implementations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment