Skip to content

Commit

Permalink
上传后更新云端数据
Browse files Browse the repository at this point in the history
  • Loading branch information
mikenotIam committed Sep 13, 2020
1 parent 20eadd5 commit 2a6014e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/src/main/java/com/xiaobao/good/AudioRecordActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,11 @@ public void onEvent(RecordItem event) {
if ("process".equals(event.getStatus())) {
Log.i(TAG, "getProcess :" + event.getProcess());
if (uploadDialog != null) {
uploadDialog.setProgress(4);
try {
uploadDialog.setProgress(event.getProcess());
} catch (Exception e) {
e.printStackTrace();
}
}

} else if ("stop".equals(event.getStatus())) {
Expand Down

0 comments on commit 2a6014e

Please sign in to comment.