-
public class Views
-
-
Method Summary
Modifier and Type Method Description static voidremoveFromParent(@Nullable() View view)static ViewgetTopmostView(@Nullable() Context context, @Nullable() View view)Finds the topmost view in the current Activity or current view hierarchy. -
-
Method Detail
-
removeFromParent
static void removeFromParent(@Nullable() View view)
-
getTopmostView
@Nullable() static View getTopmostView(@Nullable() Context context, @Nullable() View view)
Finds the topmost view in the current Activity or current view hierarchy.
- Parameters:
context- If an Activity Context, used to obtain the Activity's DecorView.view- A View in the currently displayed view hierarchy.
-
-
-
-