Open wkbin opened 2 years ago
java.lang.IllegalStateException Please get it after onAttachedToRecyclerView()
com.chad.library.adapter.base.BaseQuickAdapter.F(SourceFile:3)
`# main(2)
java.lang.IllegalStateException
Please get it after onAttachedToRecyclerView()
解析原始 1 com.chad.library.adapter.base.BaseQuickAdapter.F(SourceFile:3) 2 k.a.a.c.a.b(SourceFile:5) 3 top.airmart.mall.ui.fragment.ShopChildFragment.T(SourceFile:1) 4 top.airmart.mall.ui.fragment.ShopChildFragment.R(Unknown Source:0) 5 o.a.a.c.c.d0.onChanged(Unknown Source:4) 6 androidx.lifecycle.LiveData.considerNotify(SourceFile:6) 7 androidx.lifecycle.LiveData.dispatchingValue(SourceFile:5) 8 androidx.lifecycle.LiveData$ObserverWrapper.activeStateChanged(SourceFile:5) 9 androidx.lifecycle.LiveData$LifecycleBoundObserver.onStateChanged(SourceFile:4) 10 androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(SourceFile:3) 11 androidx.lifecycle.LifecycleRegistry.forwardPass(SourceFile:10) 12 androidx.lifecycle.LifecycleRegistry.sync(SourceFile:9) 13 androidx.lifecycle.LifecycleRegistry.moveToState(SourceFile:5) 14 androidx.lifecycle.LifecycleRegistry.handleLifecycleEvent(SourceFile:2) 15 androidx.fragment.app.Fragment.performStart(SourceFile:7) 16 androidx.fragment.app.FragmentStateManager.start(SourceFile:3) 17 androidx.fragment.app.FragmentStateManager.moveToExpectedState(SourceFile:10) 18 androidx.fragment.app.FragmentStore.moveToExpectedState(SourceFile:3) 19 androidx.fragment.app.FragmentManager.moveToState(SourceFile:57) 20 androidx.fragment.app.FragmentManager.dispatchStateChange(SourceFile:3) 21 androidx.fragment.app.FragmentManager.dispatchStart(SourceFile:4) 22 androidx.fragment.app.FragmentController.dispatchStart(SourceFile:1) 23 androidx.fragment.app.FragmentActivity.onStart(SourceFile:9) 24 androidx.appcompat.app.AppCompatActivity.onStart(SourceFile:1) 25 android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1436) 26 android.app.Activity.performStart(Activity.java:8170) 27 android.app.ActivityThread.handleStartActivity(ActivityThread.java:3748) 28 android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:232) 29 android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:212) 30 android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:184)`
+1
问题找到了, 是混淆了. 因为我主项目没有直接引用, 是三方库引用的, 导致混淆文件并没有自动合并.
找到问题了 , 混淆没加的上去, 我的是三方库依赖的, 没有直接依赖.
java.lang.IllegalStateException Please get it after onAttachedToRecyclerView()
com.chad.library.adapter.base.BaseQuickAdapter.F(SourceFile:3)
`# main(2)
java.lang.IllegalStateException
Please get it after onAttachedToRecyclerView()
解析原始 1 com.chad.library.adapter.base.BaseQuickAdapter.F(SourceFile:3) 2 k.a.a.c.a.b(SourceFile:5) 3 top.airmart.mall.ui.fragment.ShopChildFragment.T(SourceFile:1) 4 top.airmart.mall.ui.fragment.ShopChildFragment.R(Unknown Source:0) 5 o.a.a.c.c.d0.onChanged(Unknown Source:4) 6 androidx.lifecycle.LiveData.considerNotify(SourceFile:6) 7 androidx.lifecycle.LiveData.dispatchingValue(SourceFile:5) 8 androidx.lifecycle.LiveData$ObserverWrapper.activeStateChanged(SourceFile:5) 9 androidx.lifecycle.LiveData$LifecycleBoundObserver.onStateChanged(SourceFile:4) 10 androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(SourceFile:3) 11 androidx.lifecycle.LifecycleRegistry.forwardPass(SourceFile:10) 12 androidx.lifecycle.LifecycleRegistry.sync(SourceFile:9) 13 androidx.lifecycle.LifecycleRegistry.moveToState(SourceFile:5) 14 androidx.lifecycle.LifecycleRegistry.handleLifecycleEvent(SourceFile:2) 15 androidx.fragment.app.Fragment.performStart(SourceFile:7) 16 androidx.fragment.app.FragmentStateManager.start(SourceFile:3) 17 androidx.fragment.app.FragmentStateManager.moveToExpectedState(SourceFile:10) 18 androidx.fragment.app.FragmentStore.moveToExpectedState(SourceFile:3) 19 androidx.fragment.app.FragmentManager.moveToState(SourceFile:57) 20 androidx.fragment.app.FragmentManager.dispatchStateChange(SourceFile:3) 21 androidx.fragment.app.FragmentManager.dispatchStart(SourceFile:4) 22 androidx.fragment.app.FragmentController.dispatchStart(SourceFile:1) 23 androidx.fragment.app.FragmentActivity.onStart(SourceFile:9) 24 androidx.appcompat.app.AppCompatActivity.onStart(SourceFile:1) 25 android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1436) 26 android.app.Activity.performStart(Activity.java:8170) 27 android.app.ActivityThread.handleStartActivity(ActivityThread.java:3748) 28 android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:232) 29 android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:212) 30 android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:184)`