Created
July 31, 2022 15:43
-
-
Save motorro/5b6beea8775184d4760fc5659f4ac6ae to your computer and use it in GitHub Desktop.
LCE app gestures
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
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