question: when the video player is no longer needed , call this method . concode_field_sep FrameLayout container concode_elem_sep Activity activity concode_elem_sep ObservablePlayerControl control concode_elem_sep ExoplayerWrapper exoplayerWrapper concode_field_sep Activity getActivity concode_elem_sep ObservablePlayerControl getControl concode_elem_sep FrameLayout getContainer concode_elem_sep ExoplayerWrapper getExoplayerWrapper
target: void function ( ) { container . removeAllViews ( ) ; if ( exoplayerWrapper != null ) { exoplayerWrapper . release ( ) ; exoplayerWrapper = null ; } }