This commit is contained in:
huangzhuanghua
2017-01-16 12:28:43 +08:00
18 changed files with 1386 additions and 129 deletions

View File

@ -150,7 +150,7 @@ public class WebActivity extends BaseActivity {
super.onNext(response);
if (response.size() > 0 && response.get(0).getNum() > 0) {
commentNum = response.get(0).getNum();
webComment.setText("查看评论 " + response.get(0).getNum() + "");
webComment.setText("查看评论(" + response.get(0).getNum() + "");
}
}
});
@ -170,7 +170,7 @@ public class WebActivity extends BaseActivity {
super.onActivityResult(requestCode, resultCode, data);
// 刷新评论数
if (resultCode == 1001 && progressBar.getVisibility() == View.VISIBLE && newsId != null) {
webComment.setText("查看评论 " + data.getExtras().getInt("commentNum") + "");
webComment.setText("查看评论(" + data.getExtras().getInt("commentNum") + "");
}
}