Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Laimiux
Created March 27, 2018 05:38
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 Laimiux/09edff4a9a2fb5c0ccbbd89c56e50aa4 to your computer and use it in GitHub Desktop.
Save Laimiux/09edff4a9a2fb5c0ccbbd89c56e50aa4 to your computer and use it in GitHub Desktop.
data class CommentFormData(
// defines what user has entered
val comment: String,
// defines if the entered comment is valid for submission
val isCommentValid: Boolean,
// defines if there is a submit request in progress
val submitRequest: Lce<Comment>?
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment