public class ViewUtil
extends java.lang.Object
| 构造器和说明 |
|---|
ViewUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
clear() |
static java.lang.String |
getElementSelector(android.view.View view) |
static int |
getMainWindowCount(android.view.View[] windowRootViews) |
static ViewNode |
getViewContentAndType(android.view.View view) |
static ViewNode |
getViewNode(android.view.View view,
int viewIndex) |
static boolean |
instanceOfRecyclerView(java.lang.Object view) |
static boolean |
instanceOfWebView(java.lang.Object view) |
static void |
invalidateLayerTypeView(android.view.View[] views) |
static boolean |
isViewSelfVisible(android.view.View view) |
static boolean |
isWindowNeedTraverse(android.view.View root,
java.lang.String prefix,
boolean skipOtherActivity) |
public static boolean instanceOfRecyclerView(java.lang.Object view)
public static boolean instanceOfWebView(java.lang.Object view)
public static boolean isViewSelfVisible(android.view.View view)
public static void invalidateLayerTypeView(android.view.View[] views)
public static int getMainWindowCount(android.view.View[] windowRootViews)
public static boolean isWindowNeedTraverse(android.view.View root,
java.lang.String prefix,
boolean skipOtherActivity)
public static java.lang.String getElementSelector(android.view.View view)
public static ViewNode getViewNode(android.view.View view, int viewIndex)
public static void clear()
public static ViewNode getViewContentAndType(android.view.View view)