Last active
December 21, 2020 10:59
-
-
Save lookashc/afe501b8686d7563f9b3e583f0273709 to your computer and use it in GitHub Desktop.
medium-feature-toggles-gist3
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
object ShowAveragesCardFeature : Feature<Boolean> { | |
override val initialValue = false | |
override val name = "Show Averages Card" | |
} | |
class ShowAveragesCardFeatureToggle(context: Context) : | |
PersistentFeatureToggle(context, ShowAveragesCardFeature) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment