Skip to content

Instantly share code, notes, and snippets.

@motorro
Created July 31, 2022 15:43
Show Gist options
  • Select an option

  • Save motorro/5b6beea8775184d4760fc5659f4ac6ae to your computer and use it in GitHub Desktop.

Select an option

Save motorro/5b6beea8775184d4760fc5659f4ac6ae to your computer and use it in GitHub Desktop.
LCE app gestures
sealed class LceGesture {
/**
* Item to load clicked
* @property id Item ID to load
*/
data class ItemClicked(val id: ItemId) : LceGesture()
/**
* Retry operation clicked
*/
object Retry : LceGesture()
/**
* Backwards navigation gesture
*/
object Back : LceGesture()
/**
* Terminates activity
*/
object Exit : LceGesture()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment