修复平台名字为null问题
This commit is contained in:
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user