是Android framework层用于DEBUG使用的,并不是公共API
这个方法的注释如下:
This annotation can be used to mark fields and methods to be dumped by the view server. Only non-void methods with no arguments can be annotated by this annotation.
Romain Guy说
The ViewServer is not a public API and should NEVER be used as such.
原文:
本文探讨了@ViewDebug.ExportedProperty在Android框架中的用途,它用于DEBUG而非公共API。该注解标记的字段和方法会被视图服务器dump,但仅限于无参数的非void方法。Romain Guy警告不应将ViewServer视为公共API。
300

被折叠的 条评论
为什么被折叠?



