|
|
@@ -191,6 +191,9 @@ public class TaskActivity extends BaseActivity implements OnClickListener {
|
|
|
private void doClassifyAllList(List<AllProcess> allList) {
|
|
|
if (mCurrentPage == 1) {
|
|
|
if (!ListUtils.isEmpty(real_List)) real_List.clear();
|
|
|
+ if (!ListUtils.isEmpty(waitList)) waitList.clear();
|
|
|
+ if (!ListUtils.isEmpty(doneList)) doneList.clear();
|
|
|
+ if (!ListUtils.isEmpty(isendList)) isendList.clear();
|
|
|
ToastMessage(getString(R.string.common_refresh_finish));
|
|
|
} else {
|
|
|
ToastMessage(getString(R.string.common_up_finish));
|
|
|
@@ -353,9 +356,9 @@ public class TaskActivity extends BaseActivity implements OnClickListener {
|
|
|
listview_main.setOnRefreshListener(new PullToRefreshBase.OnRefreshListener2<ListView>() {
|
|
|
@Override
|
|
|
public void onPullDownToRefresh(PullToRefreshBase<ListView> refreshView) {
|
|
|
- if (!ListUtils.isEmpty(waitList)) waitList.clear();
|
|
|
- if (!ListUtils.isEmpty(doneList)) doneList.clear();
|
|
|
- if (!ListUtils.isEmpty(isendList)) isendList.clear();
|
|
|
+// if (!ListUtils.isEmpty(waitList)) waitList.clear();
|
|
|
+// if (!ListUtils.isEmpty(doneList)) doneList.clear();
|
|
|
+// if (!ListUtils.isEmpty(isendList)) isendList.clear();
|
|
|
mCurrentPage = 1;
|
|
|
sendResquestForServerAll(2, mCurrentPage);
|
|
|
}
|