This file contains hidden or 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
private val onboardingMapiRfaaDecisionMap = mapOf( | |
"displayOnboardingPopup" to Decision( | |
flag = FeatureFlag.Upside.OnboardingMapiRfaa, | |
enabled = true, | |
variables = OnboardingMapiVariables(true), | |
) | |
"hideOnboardingPopup" to Decision( | |
flag = FeatureFlag.Upside.OnboardingMapiRfaa, | |
enabled = true, |
This file contains hidden or 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
sealed interface FeatureFlagType { | |
val value: Any? | |
data class Boolean(override val value: kotlin.Boolean) : FeatureFlagType | |
data class Int(override val value: kotlin.Int) : FeatureFlagType | |
data class Double(override val value: kotlin.Double) : FeatureFlagType | |
data class String(override val value: kotlin.String) : FeatureFlagType | |
data class Map(override val value: kotlin.collections.Map<kotlin.String, FeatureFlagType>) : FeatureFlagType | |
} |
This file contains hidden or 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
@PerActivity | |
class BottomSheetDialogCommunicator @Inject constructor() { | |
val flow = MutableSharedFlow<BottomSheetDialogMessage>() | |
} | |
sealed interface BottomSheetDialogMessage | |
sealed interface ReminderMessage : BottomSheetDialogMessage { | |
data class Test(val text: String) : ReminderMessage | |
} |