| | |
| | | import com.hdl.photovoltaic.other.HdlLogLogic; |
| | | import com.hdl.photovoltaic.other.HdlMessageLogic; |
| | | import com.hdl.photovoltaic.ui.adapter.MessageAdapter; |
| | | import com.hdl.photovoltaic.ui.bean.BUserInfo; |
| | | import com.hdl.photovoltaic.ui.bean.MessageBean; |
| | | import com.hdl.sdk.link.core.bean.eventbus.BaseEventBus; |
| | | |
| | | import org.greenrobot.eventbus.Subscribe; |
| | | import org.greenrobot.eventbus.ThreadMode; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | |
| | | @Override |
| | | public void onRefresh() { |
| | | mList.clear();//表示强制重新请求消息列表 |
| | | updateListData();//清空之前缓存,因为遇到一个问题猛拉的时候报错; |
| | | getRecoverMessageList(false); |
| | | HdlLogLogic.print("RecoverMessageFragment下拉刷新", false); |
| | | } |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获取恢复中的消息列表 |
| | | * |