Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save slavipetrov/4d13ef581fb139ec2d342f2e844f546b to your computer and use it in GitHub Desktop.
Save slavipetrov/4d13ef581fb139ec2d342f2e844f546b to your computer and use it in GitHub Desktop.
...
// 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