请教规则写法 #466
请教规则写法
#466
Replies: 2 comments
-
|
两者之间的耗时可以忽略不计吧,除非嵌套的层级到达一定的数量,更多的是写法和代码量的区别。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
效率最高的是 不使用关系选择器,此外全部使用 quickFind 就目前的选择器版本而言,如果一定要使用关系选择器,尽量不要使用 +/- 这两个选择器,此外使用精确距离,不要使用 n |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
在没有quickFind参与下,参考README文档,也是前者写法效率更高吗
FrameLayout > FrameLayout[index=1] > @View[index=2][clickable=true] + TextViewTextView - @View[clickable=true] <3 FrameLayout <2 FrameLayouthttps://i.gkd.li/import/13832104
Beta Was this translation helpful? Give feedback.
All reactions