Created
January 9, 2022 09:56
-
-
Save enginebai/6f38510de09c6dd93275c388cf431bfc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
fun bindData(movie: MovieDetail) { | |
val textMovieName = findViewById(R.id.textMovieName) | |
textMovieName.text = movie.name | |
val ratingBar = findViewById(R.id.movieRatingBar) | |
ratingBar.rating = movie.rating | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment