The Android Developer Challenge is back! Submit your idea before December 2.

OnViewTypeChangedListener

interface OnViewTypeChangedListener
androidx.media2.widget.VideoView.OnViewTypeChangedListener

Interface definition of a callback to be invoked when the view type has been changed.

Summary

Public methods

abstract Unit
onViewTypeChanged(@NonNull view: View, viewType: Int)

Called when the view type has been changed.

Public methods

onViewTypeChanged

abstract fun onViewTypeChanged(@NonNull view: View, viewType: Int): Unit

Called when the view type has been changed.

Parameters
view View: the View whose view type is changed
viewType View: