修复4.4.4系统在多个dex的情况下,无法进行回调的问题;修复组合任务子任务索引问题

This commit is contained in:
laoyuyu
2018-07-04 20:06:09 +08:00
parent 8201eef571
commit 671ae11e2b
14 changed files with 179 additions and 43 deletions

View File

@@ -18,6 +18,7 @@ package com.arialyy.simple.widget;
import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.util.Log;
import android.util.SparseArray;
import android.view.LayoutInflater;
import android.view.View;
@@ -105,6 +106,7 @@ public class SubStateLinearLayout extends LinearLayout implements View.OnClickLi
if (position != -1) {
TextView child = ((TextView) getChildAt(position));
int p = getPercent(entity);
Log.d("TAG", "p = " + p);
child.setText(entity.getFileName() + ": " + p + "%" + " | " + entity.getConvertSpeed());
child.invalidate();
}