本文共 1041 字,大约阅读时间需要 3 分钟。
private void updateItemDownloadStatus(DownLoadInfo obj) { int type = (obj).getSubjectInfo().getVodType(); if (type == 1 && downStatusInfo.getSubjectInfo().getVodType() == 1) { if (!TextUtils.isEmpty((obj).getCcInfo().getClassHourID()) && !TextUtils.isEmpty(downStatusInfo.getCcInfo().getClassHourID())) { if ((obj).getCcInfo().getClassHourID().equals(downStatusInfo.getCcInfo().getClassHourID())) { downStatusInfo.getCcInfo().setState((obj).getCcInfo().getState()); } } } else if (type == 2 && downStatusInfo.getSubjectInfo().getVodType() == 2) { if (!TextUtils.isEmpty((obj).getGenseeInfo().getClassHourID()) && !TextUtils.isEmpty(downStatusInfo.getGenseeInfo().getClassHourID())) { if ((obj).getGenseeInfo().getClassHourID().equals(downStatusInfo.getGenseeInfo().getClassHourID())) { downStatusInfo.getGenseeInfo().setState((obj).getGenseeInfo().getState()); } } }
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
转载地址:http://gzgwn.baihongyu.com/