Spotlight

data class Spotlight(id: Int, video: String, userImage: String, userName: String, isLiked: Boolean, likesCount: Int, comment: String, commentsCount: Int)

Spotlight Data Class

Constructors

Link copied to clipboard
fun Spotlight(id: Int, video: String, userImage: String, userName: String, isLiked: Boolean = false, likesCount: Int, comment: String, commentsCount: Int)

Create empty Spotlight

Functions

Link copied to clipboard
fun getVideoUrl(): Uri

Get video url

Properties

Link copied to clipboard
val comment: String
Link copied to clipboard
val commentsCount: Int
Link copied to clipboard
val id: Int
Link copied to clipboard
val isLiked: Boolean = false
Link copied to clipboard
val likesCount: Int
Link copied to clipboard
val userImage: String
Link copied to clipboard
val userName: String