|
@@ -7,13 +7,11 @@ import android.view.View;
|
|
|
import com.sheep.gamegroup.model.api.ApiService;
|
|
import com.sheep.gamegroup.model.api.ApiService;
|
|
|
import com.sheep.gamegroup.model.api.OnItemClickListener;
|
|
import com.sheep.gamegroup.model.api.OnItemClickListener;
|
|
|
import com.sheep.gamegroup.model.entity.BaseMessage;
|
|
import com.sheep.gamegroup.model.entity.BaseMessage;
|
|
|
-import com.sheep.gamegroup.model.entity.HomeListEntity;
|
|
|
|
|
import com.sheep.gamegroup.model.entity.SystemNotification;
|
|
import com.sheep.gamegroup.model.entity.SystemNotification;
|
|
|
-import com.sheep.gamegroup.model.util.SheepSubscriber;
|
|
|
|
|
import com.sheep.gamegroup.util.ApiJSONUtil;
|
|
import com.sheep.gamegroup.util.ApiJSONUtil;
|
|
|
-import com.sheep.gamegroup.util.CommonUtil;
|
|
|
|
|
import com.sheep.gamegroup.util.DataUtil;
|
|
import com.sheep.gamegroup.util.DataUtil;
|
|
|
import com.sheep.gamegroup.util.Jump2View;
|
|
import com.sheep.gamegroup.util.Jump2View;
|
|
|
|
|
+import com.sheep.gamegroup.util.ListUtil;
|
|
|
import com.sheep.gamegroup.view.activity.ActMsg;
|
|
import com.sheep.gamegroup.view.activity.ActMsg;
|
|
|
import com.sheep.gamegroup.view.adapter.MessageLeftAdapter;
|
|
import com.sheep.gamegroup.view.adapter.MessageLeftAdapter;
|
|
|
import com.sheep.jiuyan.samllsheep.SheepApp;
|
|
import com.sheep.jiuyan.samllsheep.SheepApp;
|
|
@@ -23,8 +21,6 @@ import org.afinal.simplecache.ApiKey;
|
|
|
import java.util.Locale;
|
|
import java.util.Locale;
|
|
|
|
|
|
|
|
import io.reactivex.Observable;
|
|
import io.reactivex.Observable;
|
|
|
-import io.reactivex.android.schedulers.AndroidSchedulers;
|
|
|
|
|
-import io.reactivex.schedulers.Schedulers;
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* Created by realicing on 2018/9/7.
|
|
* Created by realicing on 2018/9/7.
|
|
@@ -63,6 +59,10 @@ public class FgtMsgCenter extends BaseListFragment2<SystemNotification> implemen
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+ //还有数据没有获取
|
|
|
|
|
+ protected boolean hasMore() {
|
|
|
|
|
+ return ListUtil.size(list) >= per_page * page;
|
|
|
|
|
+ }
|
|
|
@Override
|
|
@Override
|
|
|
public void notifyData() {
|
|
public void notifyData() {
|
|
|
if(activity instanceof ActMsg) {
|
|
if(activity instanceof ActMsg) {
|