app/src/main/java/cn/flightfeather/thirdappmodule/module/base/BaseActivity.kt
@@ -40,9 +40,11 @@ } catch (e: Exception) { e.printStackTrace() } getLayoutId()?.let { setContentView(it) } getLayoutId()?.let { setContentView(it) rootView = findViewById<ViewGroup>(android.R.id.content).getChildAt(0) as ViewGroup } } override fun onDestroy() { if (EventBus.getDefault().isRegistered(this)) {