@Override public void onClick(View v) { if (mControllerImpl == null) { return; } int id = v.getId(); if (id == R.id.rl_play_pause || id == R.id.iv_play_pause) { mControllerImpl.onPlayTurn(); } else if (id == R.id.iv_toggle_expandable || id == R.id.rl_toggle_expandable) { mControllerImpl.onOrientationChange(); } }
@Override public void onStopTrackingTouch(SeekBar seekBar) { mControllerImpl.onProgressChange(SeekBarState.STOP_TRACKING, seekBar.getProgress()); mUserOperateSeecbar = false; }
@Override public void onStartTrackingTouch(SeekBar seekBar) { mControllerImpl.onProgressChange(SeekBarState.START_TRACKING, 0); mUserOperateSeecbar = true; }