This commit is contained in:
huangzhuanghua
2016-09-09 18:23:54 +08:00
parent 5316164f00
commit f858ba0b70
58 changed files with 1038 additions and 1874 deletions

View File

@ -18,7 +18,7 @@ import com.gh.gamecenter.entity.GameEntity;
import com.gh.gamecenter.eventbus.EBMoveTop;
import com.gh.gamecenter.eventbus.EBNetworkState;
import com.gh.gamecenter.eventbus.EBPackage;
import com.gh.gamecenter.eventbus.EBRefresh;
import com.gh.gamecenter.eventbus.EBReuse;
import com.gh.gamecenter.eventbus.EBSlide;
import de.greenrobot.event.EventBus;
@ -118,8 +118,8 @@ public class InstallFragment extends BaseFragment {
}
// 打开下载按钮事件
public void onEventMainThread(EBRefresh refresh) {
if (adapter != null) {
public void onEventMainThread(EBReuse reuse) {
if ("Refresh".equals(reuse.getType()) && adapter != null) {
adapter.notifyItemRangeChanged(0, adapter.getItemCount());
}
}