在具有协调器布局和嵌套滚动视图的活动上启动我的测试
layout_behavior="@string/appbar_scrolling_view_behavior"
设置会导致测试永远不会稳定。 我已将其缩小到工作,而不是仅使用这一行。
有人处理过这个吗?
设置layout_behavior时,Looper 日志将重载:
Dispatching to Handler (android.view.Choreographer$FrameHandler) {8d716a} android.view.Choreographer$FrameDisplayEventReceiver@6c3c65b: 0
Finished to Handler (android.view.Choreographer$FrameHandler) {8d716a} android.view.Choreographer$FrameDisplayEventReceiver@6c3c65b
通过从 NestedScrollView 中删除 app:layout_anchor="@id/myview" 来修复