@Override
public void finishTask() {
mFAB.setClickable(true);
mFAB.setBackgroundTintList(ColorStateList.valueOf(getResources().getColor(R.color.colorPrimary)));
mCollapsingToolbarLayout.setTitle("");
if (TextUtils.isEmpty(mImgUrl)){
Glide.with(this)
.load(mVideoDetailsInfo)
.centerCrop()
.diskCacheStrategy(DiskCacheStrategy.ALL)
.placeholder(R.drawable.bili_default_image_tv)
.dontAnimate()
.into(mVideoPreview);
}
VideoIntroductionFragment introductionFragment = VideoIntroductionFragment.newInstance(mAv);
VideoCommentFragment commentFragment = VideoCommentFragment.newInstance(mAv);
fragments.add(introductionFragment);
fragments.add(commentFragment);
setPagerTitle(String.valueOf(mVideoDetailsInfo.getStat().getReply()));
}
VideoDetailsActivity.java 文件源码
java
阅读 47
收藏 0
点赞 0
评论 0
项目:BilibiliClient
作者:
评论列表
文章目录