Created
July 31, 2018 08:15
-
-
Save Oleur/cd3ff5abcefd70d78f71bbd23d5fa4b4 to your computer and use it in GitHub Desktop.
Add views to a container using KTX library
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
// Add similar movies to the container | |
movies.filter { it.hasTrailers }.forEach { | |
nextTrailersContainer += NextTrailerView(this).apply { | |
setCallback(this@CinemurPlayerActivity) | |
setTrailer(it) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment