-
-
Save shkcodes/23421cad15d9c0e87e1e46cda6f4ada9 to your computer and use it in GitHub Desktop.
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
Box { | |
AndroidView( | |
factory = { context -> | |
context.inflate<PlayerView>(R.layout.player_view).apply { | |
layoutParams = ViewGroup.LayoutParams(MATCH_PARENT, MATCH_PARENT) | |
player = exoPlayer | |
} | |
} | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment