在提交交易后调用getSupportFragmentManager().executePendingTransactions();
时。触发搜索栏触摸事件。
at android.widget.SeekBar.onStopTrackingTouch()(SeekBar.java:121)
at android.widget.AbsSeekBar.onTouchEvent()(AbsSeekBar.java:657)
at android.view.View.dispatchTouchEvent()(View.java:9414)
at android.view.ViewGroup.dispatchTransformedTouchEvent()(ViewGroup.java:2636)
at android.view.ViewGroup.dispatchTouchEvent()(ViewGroup.java:2323)
at android.view.ViewGroup.dispatchTransformedTouchEvent()(ViewGroup.java:2636)
at android.view.ViewGroup.dispatchTouchEvent()(ViewGroup.java:2323)
at android.view.ViewGroup.dispatchTransformedTouchEvent()(ViewGroup.java:2636)
at android.view.ViewGroup.dispatchTouchEvent()(ViewGroup.java:2323)
at android.view.ViewGroup.cancelTouchTarget()(ViewGroup.java:2547)
at android.view.ViewGroup.removeViewInternal()(ViewGroup.java:4861)
at android.view.ViewGroup.removeViewInternal()(ViewGroup.java:4841)
at android.view.ViewGroup.removeView()(ViewGroup.java:4772)
at androidx.fragment.app.FragmentManager.moveToState()(m.java:1250)
at androidx.fragment.app.FragmentManager.moveToState()(m.java:1356)
at androidx.fragment.app.FragmentManager.moveFragmentToExpectedState()(m.java:1434)
at androidx.fragment.app.BackStackRecord.executeOps()(a.java:442)
at androidx.fragment.app.FragmentManager.executeOps()(m.java:2169)
at androidx.fragment.app.FragmentManager.executeOpsTogether()(m.java:1992)
at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute()(m.java:1947)
at androidx.fragment.app.FragmentManager.execPendingActions()(m.java:1849)
at androidx.fragment.app.FragmentManager.executePendingTransactions()(m.java:489)
我们正在使用androidx版本1.2.4。
为什么executePendingTransaction在内部触发触摸事件?让我知道是否需要更多详细信息。