【发布时间】:2019-01-14 21:56:49
【问题描述】:
在一个带有协调器布局和嵌套滚动视图的活动上启动我的测试
layout_behavior="@string/appbar_scrolling_view_behavior"
set 导致测试永远不会结束。我已经把它缩小到工作而不是只用这条线。
有人处理过这个问题吗?
当 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" 修复