Created
December 21, 2020 11:01
-
-
Save lookashc/8be50206ae195ba28b77e6e1d650ee10 to your computer and use it in GitHub Desktop.
medium-feature-toggles-gist4
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
@Module | |
class ShowAveragesCardToggleModule { | |
@Provides | |
fun provideShowAveragesCardFeatureToggle(context: Context) = | |
ShowAveragesCardFeatureToggle(context) | |
@Provides | |
@IntoSet | |
fun addShowAveragesCardFeatureToggleIntoSet( | |
toggle: ShowAveragesCardFeatureToggle | |
): FeatureToggle<*> = toggle | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment