-
Notifications
You must be signed in to change notification settings - Fork 38
how to support custom TextView #81
Copy link
Copy link
Open
Description
com.dianping.picasso.view.PicassoTextView
extend com.dianping.richtext.BaseRichTextView;
extend android.support.v7.widget.AppCompatTextView
extend android.widget.TextView
query("* marked:'a name'"), can not find the element
any way to support the custom TextView ? modify the WILDCARD branch ?
public static UIQueryAST uiQueryFromAst(CommonTree step) {
String stepType = UIQueryParser.tokenNames[step.getType()];
switch (step.getType()) {
case UIQueryParser.QUALIFIED_NAME:
return UIQueryASTClassName.fromQualifiedClassName(step.getText());
case UIQueryParser.NAME:
return UIQueryASTClassName.fromSimpleClassName(step.getText());
case UIQueryParser.WILDCARD:
return UIQueryASTClassName.fromQualifiedClassName("android.view.View");
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels