entrance检查与统一

This commit is contained in:
huangzhuanghua
2017-01-20 17:11:03 +08:00
parent b3fc66f6b9
commit b2d568d646
72 changed files with 521 additions and 3895 deletions

View File

@ -328,7 +328,7 @@ public class DownloadItemUtils {
download_percentage, downloadBtn, entity, true);
}
public static void setNormalOnClickListener(final Context context,
private static void setNormalOnClickListener(final Context context,
final TextView downloadBtn,
final GameEntity gameEntity,
final int position,
@ -370,6 +370,7 @@ public class DownloadItemUtils {
} else if ("下载中".equals(str)) {
Intent intent = new Intent(context, DownloadManagerActivity.class);
intent.putExtra("url", gameEntity.getApk().get(0).getUrl());
intent.putExtra("entrance", entrance + "+(" + location.split(":")[0] + ")");
context.startActivity(intent);
} else if ("更新".equals(str)) {
if (NetworkUtils.isWifiConnected(context)) {
@ -387,7 +388,7 @@ public class DownloadItemUtils {
});
}
public static void setPluginOnClickListener(final Context context,
private static void setPluginOnClickListener(final Context context,
final TextView downloadBtn,
final GameEntity entity,
final String entrance,