From 0d2d3d6cb41f54531ab4c24c75298caff19574f2 Mon Sep 17 00:00:00 2001 From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674> Date: 星期四, 27 四月 2017 10:29:38 +0800 Subject: [PATCH] --- VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/service/PhoneCallMng.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/service/PhoneCallMng.java b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/service/PhoneCallMng.java index 4d6a3d8..9c7f326 100644 --- a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/service/PhoneCallMng.java +++ b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/service/PhoneCallMng.java @@ -38,7 +38,7 @@ } RequestParams params = new RequestParams(AppApi.BASE_URL +AppApi.Query.PHONE_CALL_QUERY); params.addBodyParameter(PhoneCallQueryCondition.FieldNames.username, searchText); - params.addBodyParameter(CommonVariables.Page.PAGE_SIZE, "20"); + params.addBodyParameter(CommonVariables.Page.PAGE_SIZE, CommonVariables.Page.DEFAULT_PAGE_SIZE); params.addBodyParameter(CommonVariables.Page.PAGE_NUM, pageNum+""); x.http().post(params, new BaseCommonCallBack() { public void success() { @@ -85,12 +85,12 @@ allItems.add(CommonVariables.Page.hasMorePages); } else { if (getPageNum() > 1) { - allItems.add(CommonVariables.Page.reachBottom); + //allItems.add(CommonVariables.Page.reachBottom); } else { if (allItems.size() > 0) { - allItems.add(CommonVariables.Page.reachBottom); + //allItems.add(CommonVariables.Page.reachBottom); } else { - allItems.add(CommonVariables.Page.noMorePage); + //allItems.add(CommonVariables.Page.noMorePage); } } } -- Gitblit v1.8.0