Skip to content

Instantly share code, notes, and snippets.

@cp-radhika-s
Created October 5, 2022 11:42
Show Gist options
  • Save cp-radhika-s/f925712052606dd1414c2ed065f4038e to your computer and use it in GitHub Desktop.
Save cp-radhika-s/f925712052606dd1414c2ed065f4038e to your computer and use it in GitHub Desktop.
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