Skip to content

Instantly share code, notes, and snippets.

@enginebai
Created January 9, 2022 10:04
Show Gist options
  • Save enginebai/89578e980fe36fd52f106c529310f9a2 to your computer and use it in GitHub Desktop.
Save enginebai/89578e980fe36fd52f106c529310f9a2 to your computer and use it in GitHub Desktop.
@Composable
fun MovieInfoWidget(
posterUrl: String? = null,
movieName: String? = null,
isBookmark: Boolean = false,
rating: Float = 0.0f,
ratingTotalCountText: String? = null,
genres: String? = null,
releaseDateText: String? = null,
runtimeText: String? = null,
overview: String? = null,
onBackButtonClicked: () -> Unit = {}
) {
Column {
Image()
Text(movieName)
RatingBar(rating)
Text(genres)
Text(releaseDateText)
Text(runtimeText)
Text("Overview")
Text(overview)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment