Created
October 5, 2022 11:42
-
-
Save cp-radhika-s/f925712052606dd1414c2ed065f4038e to your computer and use it in GitHub Desktop.
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
class NoRippleInteractionSource : MutableInteractionSource { | |
override val interactions: Flow<Interaction> = emptyFlow() | |
override suspend fun emit(interaction: Interaction) {} | |
override fun tryEmit(interaction: Interaction) = true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment