Skip to content

Instantly share code, notes, and snippets.

@takahirom
Created March 1, 2022 00:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takahirom/e36b98f74637b468c97a3557337b7d9a to your computer and use it in GitHub Desktop.
Save takahirom/e36b98f74637b468c97a3557337b7d9a to your computer and use it in GitHub Desktop.
class HogeActivity {
val featureFlags = FeatureFlags()
@OptIn(AmazingFeature::class)
fun onClick() {
if (featureFlags.isAmazingFeaturesEnabled()) {
brokenAmazingFeatures()
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment