添加畅玩管理页

This commit is contained in:
juntao
2022-04-22 16:52:04 +08:00
parent 3ef9a38342
commit 9d00e53b73
18 changed files with 507 additions and 35 deletions

View File

@ -102,7 +102,7 @@ public class DetailDownloadUtils {
} else if (viewHolder.context.getString(R.string.pluggable).equals(status)) {
downloadText = "升级" + (TextUtils.isEmpty(downloadAddWord) ? "" : "" + downloadAddWord) + getDownloadSizeText(viewHolder);
} else if (viewHolder.context.getString(R.string.launch).equals(status)) {
if (VHelper.isSGame(viewHolder.gameEntity)) {
if (VHelper.isVGame(viewHolder.gameEntity)) {
downloadText = viewHolder.context.getString(R.string.smooth_launch);
} else {
downloadText = status + (TextUtils.isEmpty(downloadAddWord) ? "" : "-" + downloadAddWord);
@ -186,7 +186,7 @@ public class DetailDownloadUtils {
}
viewHolder.mDownloadPb.setDownloadType(DownloadProgressBar.DownloadType.INSTALL_NORMAL);
}
} else if (VHelper.isSGame(viewHolder.gameEntity)) {
} else if (VHelper.isVGame(viewHolder.gameEntity)) {
viewHolder.mDownloadPb.setText(R.string.smooth_launch);
viewHolder.mDownloadPb.setDownloadType(DownloadProgressBar.DownloadType.LAUNCH_OR_OPEN);
} else {