LGImageCompressor icon indicating copy to clipboard operation
LGImageCompressor copied to clipboard

代码

Open OneLeafAlex opened this issue 7 years ago • 0 comments

public interface CompressServiceListener { void onCompressServiceStart(); void onCompressServiceEnd(ArrayList<LGImgCompressor.CompressResult> compressResults); }

你的代码还是旧的把。这2个方法好像没有用到哦,还是用的之前的广播发送消息的。我想一种在后台监测。是不是在这个方法不要调用 stopSelf(taskId);就行了啊?我压缩之后的文件是空的,为啥子? synchronized (lock){ compressResults.add(compressResult); taskNumber--; if(taskNumber <= 0){ stopSelf(taskId); } }

OneLeafAlex avatar Sep 13 '17 02:09 OneLeafAlex