java.lang.Object
org.prebid.mobile.rendering.views.webview.mraid.Views

public class Views extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    static void
    removeFromParent(android.view.View view)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TAG

      public static final String 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.