修复平台名字为null问题

This commit is contained in:
khy
2016-12-02 17:39:21 +08:00
parent 39a42e224a
commit 3d82162b4d
8 changed files with 25 additions and 9 deletions

View File

@ -82,7 +82,8 @@ public class InstallFragment extends BaseFragment {
// 打开下载按钮事件
public void onEventMainThread(EBReuse reuse) {
if ("Refresh".equals(reuse.getType()) && adapter != null) {
if (("Refresh".equals(reuse.getType()) || "PlatformChanged".equals(reuse.getType()))
&& adapter != null) {
adapter.notifyItemRangeChanged(0, adapter.getItemCount());
}
}