Class Views
java.lang.Object
org.prebid.mobile.rendering.views.webview.mraid.Views
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic android.view.ViewgetTopmostView(android.content.Context context, android.view.View view) Finds the topmost view in the current Activity or current view hierarchy.static voidremoveFromParent(android.view.View view)
-
Field Details
-
TAG
-
-
Constructor Details
-
Views
public Views()
-
-
Method Details
-
removeFromParent
public static void removeFromParent(android.view.View view) -
getTopmostView
public static android.view.View getTopmostView(android.content.Context context, android.view.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. This is ignored if it is a non-Activity Context.view- A View in the currently displayed view hierarchy. If a null or non-Activity Context is provided, this View's topmost parent is used to determine the rootView.- Returns:
- The topmost View in the currency Activity or current view hierarchy. Null if no applicable View can be found.
-