Skip to content

Commit

Permalink
Merge pull request #196 from 3598906645/release-9.5.11200
Browse files Browse the repository at this point in the history
release-9.5.11200
  • Loading branch information
garyxgwang authored Jan 23, 2022
2 parents 8bd8ea8 + 21513eb commit a6be6e9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 3 additions & 1 deletion Demo/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 24
versionName "9.5.0.29006"
versionName "9.5.0.1482"

multiDexEnabled true
ndk {
Expand Down Expand Up @@ -63,4 +63,6 @@ dependencies {
implementation('com.blankj:utilcode:1.25.9', {
exclude group: 'com.google.code.gson', module: 'gson'
})


}
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ public ShortVideoPlayAdapter(List<ShortVideoBean> list) {
public void onHolder(VideoViewHolder holder, ShortVideoBean bean, int position) {
ViewGroup.LayoutParams layoutParams = holder.itemView.getLayoutParams();
layoutParams.height = ViewGroup.LayoutParams.MATCH_PARENT;
Glide.with(mContext).load(bean.placeholderImage).
diskCacheStrategy(DiskCacheStrategy.ALL).centerCrop()
.into(holder.mImageViewCover);
if (bean != null && bean.placeholderImage != null) {
Glide.with(mContext).load(bean.placeholderImage).
diskCacheStrategy(DiskCacheStrategy.ALL).centerCrop()
.into(holder.mImageViewCover);;
}
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,6 @@ private void playTimeShiftLiveURL(int appId, String url) {
try {
bizidNum = Integer.parseInt(bizid);
} catch (NumberFormatException e) {
e.printStackTrace();
Log.e(TAG, "playTimeShiftLiveURL: bizidNum error = " + bizid);
}
mLivePlayer.prepareLiveSeek(domian, bizidNum);
Expand Down

0 comments on commit a6be6e9

Please sign in to comment.