Created
June 28, 2019 11:56
-
-
Save slavipetrov/4d13ef581fb139ec2d342f2e844f546b 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
... | |
// Add initially from the Builder | |
fullscreenVideoView.videoUrl(videoUrl) | |
.addOnErrorListener(object : OnErrorListener { | |
override fun onError(exception: FullscreenVideoViewException?) { | |
// Handle error | |
} | |
}) | |
// OR | |
// Add by calling the view method | |
fullscreenVideoView.addOnErrorListener(object : OnErrorListener { | |
override fun onError(exception: FullscreenVideoViewException?) { | |
// Handle error | |
} | |
}) | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment