光环助手V3.7.2 RELEASE(20200110-1830)测试问题汇总 1,6,9 https://gitlab.ghzs.com/pm/halo-app-issues/issues/755
This commit is contained in:
@ -334,10 +334,12 @@ public class PersonalFragment extends BaseFragment implements Observer<ApiRespon
|
||||
}
|
||||
}
|
||||
|
||||
@OnClick({R.id.iv_arrow, R.id.personal_info, R.id.personal_login, R.id.personal_user_small_icon, R.id.personal_user_icon, R.id.personal_msg,
|
||||
@OnClick({R.id.toolbar,R.id.collapsingToolbar,R.id.iv_arrow, R.id.personal_info, R.id.personal_login, R.id.personal_user_small_icon, R.id.personal_user_icon, R.id.personal_msg,
|
||||
R.id.personal_user_name_small, R.id.personal_user_name, R.id.personal_badge, R.id.personal_home})
|
||||
public void onViewClicked(View view) {
|
||||
switch (view.getId()) {
|
||||
case R.id.collapsingToolbar:
|
||||
case R.id.toolbar:
|
||||
case R.id.personal_info:
|
||||
if (mUserInfoEntity == null) {
|
||||
CheckLoginUtils.checkLogin(getContext(), "我的光环-手机登录", null);
|
||||
|
||||
@ -354,13 +354,15 @@ class DetailPlayerView @JvmOverloads constructor(context: Context, attrs: Attrib
|
||||
setViewShowState(mStartButton, View.INVISIBLE)
|
||||
setViewShowState(mBottomContainer, View.GONE)
|
||||
setViewShowState(mBottomProgressBar, View.VISIBLE)
|
||||
hideAllWidget()
|
||||
} else {
|
||||
setViewShowState(mBottomContainer, if (isBottomContainerShow) View.VISIBLE else View.GONE)
|
||||
setViewShowState(mBottomProgressBar, if (isBottomContainerShow) View.GONE else View.VISIBLE)
|
||||
AppExecutor.uiExecutor.executeWithDelay(Runnable {
|
||||
hideAllWidget()
|
||||
}, 1500)
|
||||
}
|
||||
errorContainer.visibility = View.GONE
|
||||
//产品说恢复播放直接隐藏全部控件
|
||||
hideAllWidget()
|
||||
}
|
||||
|
||||
override fun changeUiToPauseShow() {
|
||||
@ -381,8 +383,14 @@ class DetailPlayerView @JvmOverloads constructor(context: Context, attrs: Attrib
|
||||
setViewShowState(mBottomProgressBar, if (isBottomContainerShow) View.GONE else View.VISIBLE)
|
||||
}*/
|
||||
setViewShowState(mLoadingProgressBar, View.GONE)
|
||||
setViewShowState(mBottomProgressBar, View.VISIBLE)
|
||||
setViewShowState(mBottomContainer, View.GONE)
|
||||
|
||||
if (mIsDragSeek) {
|
||||
setViewShowState(mBottomProgressBar, View.GONE)
|
||||
setViewShowState(mBottomContainer, View.VISIBLE)
|
||||
} else {
|
||||
setViewShowState(mBottomProgressBar, View.VISIBLE)
|
||||
setViewShowState(mBottomContainer, View.GONE)
|
||||
}
|
||||
}
|
||||
|
||||
override fun changeUiToCompleteShow() {
|
||||
@ -463,24 +471,22 @@ class DetailPlayerView @JvmOverloads constructor(context: Context, attrs: Attrib
|
||||
}
|
||||
|
||||
override fun onStopTrackingTouch(seekBar: SeekBar) {
|
||||
AppExecutor.uiExecutor.executeWithDelay(Runnable {
|
||||
super.onStopTrackingTouch(seekBar)
|
||||
if (currentPositionWhenPlaying == 0) {
|
||||
when (mCurrentState) {
|
||||
CURRENT_STATE_PLAYING, CURRENT_STATE_PREPAREING, CURRENT_STATE_PLAYING_BUFFERING_START -> {
|
||||
uploadVideoStreamingPlaying("开始播放-拖回0秒")
|
||||
}
|
||||
GSYVideoView.CURRENT_STATE_PAUSE -> {
|
||||
uploadVideoStreamingPlaying("暂停-拖回0秒")
|
||||
}
|
||||
super.onStopTrackingTouch(seekBar)
|
||||
if (currentPositionWhenPlaying == 0) {
|
||||
when (mCurrentState) {
|
||||
CURRENT_STATE_PLAYING, CURRENT_STATE_PREPAREING, CURRENT_STATE_PLAYING_BUFFERING_START -> {
|
||||
uploadVideoStreamingPlaying("开始播放-拖回0秒")
|
||||
}
|
||||
GSYVideoView.CURRENT_STATE_PAUSE -> {
|
||||
uploadVideoStreamingPlaying("暂停-拖回0秒")
|
||||
}
|
||||
}
|
||||
uploadVideoStreamingPlaying("结束拖动", (currentPositionWhenPlaying / 1000).toString())
|
||||
//拖动进度条松开手指后,直接从当前具体的秒数开始播放
|
||||
if (mCurrentState == GSYVideoView.CURRENT_STATE_PAUSE) {
|
||||
onVideoResume()
|
||||
}
|
||||
}, 500)
|
||||
}
|
||||
uploadVideoStreamingPlaying("结束拖动", (currentPositionWhenPlaying / 1000).toString())
|
||||
//拖动进度条松开手指后,直接从当前具体的秒数开始播放
|
||||
if (mCurrentState == GSYVideoView.CURRENT_STATE_PAUSE) {
|
||||
onVideoResume()
|
||||
}
|
||||
}
|
||||
|
||||
override fun getEnlargeImageRes(): Int {
|
||||
|
||||
Reference in New Issue
Block a user