Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要一种方法来监视一些视图参数(例如捕捉它启用的时刻等)
为此,我认为我需要刷新单个视图的可能性,因为对整个视图层次结构树执行转储需要太多时间。
是否可以刷新特定视图?
有没有其他方法可以监视特定视图参数而不执行转储到整个视图树?
我不认为这是可能的。vc.dump()是AndroidViewClient在调用时将内部视图树表示与屏幕中的任何内容同步的方式。
vc.dump()