Skip to content

Instantly share code, notes, and snippets.

@motorro
Created August 14, 2022 11:28
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 motorro/61db92e4ef7f7651a6005afbf6f8e7f0 to your computer and use it in GitHub Desktop.
Save motorro/61db92e4ef7f7651a6005afbf6f8e7f0 to your computer and use it in GitHub Desktop.
Gesture adapter
sealed class WelcomeGesture {
// Native gestures...
/**
* Login flow gesture
* @property value Login flow gesture
*/
data class Login(val value: LoginGesture) : WelcomeGesture()
/**
* Register flow gesture
* @property value Register flow gesture
*/
data class Register(val value: RegisterGesture) : WelcomeGesture()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment