ソースを参照

more execute move from onCreate to onPostCreate

hanjing 7 年 前
コミット
54a6c716c9
共有1 個のファイルを変更した5 個の追加0 個の削除を含む
  1. 5 0
      app/src/main/java/com/sheep/gamegroup/absBase/BaseActivity.java

+ 5 - 0
app/src/main/java/com/sheep/gamegroup/absBase/BaseActivity.java

@@ -96,6 +96,11 @@ public abstract class BaseActivity extends RxAppCompatActivity {
             unbinder = ButterKnife.bind(this);
         if (needRegisterEventBus())
             EventBus.getDefault().register(this);
+    }
+
+    @Override
+    public void onPostCreate(Bundle bundle){
+        super.onPostCreate(bundle);
         initView();
         initListener();
         initData();