Example usage for android.view ViewManager removeView

List of usage examples for android.view ViewManager removeView

Introduction

In this page you can find the example usage for android.view ViewManager removeView.

Prototype

public void removeView(View view);

Source Link

Usage

From source file:com.getkeepsafe.taptargetview.ViewUtil.java

static void removeView(ViewManager parent, View child) {
    if (parent == null || child == null) {
        return;//from   w  ww .  j  a v  a2  s .c  o  m
    }

    try {
        parent.removeView(child);
    } catch (NullPointerException ignored) {
        // This catch exists for modified versions of Android that have a buggy ViewGroup
        // implementation. See b.android.com/77639, #121 and #49
    }
}