Example #1
0
        internal virtual void finishRemoveViewLocked(android.view.View view, int index)
        {
            int count = mViews.Length;

            // remove it from the list
            android.view.View[] tmpViews = new android.view.View[count - 1];
            removeItem(tmpViews, mViews, index);
            mViews = tmpViews;
            android.view.ViewRootImpl[] tmpRoots = new android.view.ViewRootImpl[count - 1];
            removeItem(tmpRoots, mRoots, index);
            mRoots = tmpRoots;
            android.view.WindowManagerClass.LayoutParams[] tmpParams = new android.view.WindowManagerClass
                                                                       .LayoutParams[count - 1];
            removeItem(tmpParams, mParams, index);
            mParams = tmpParams;
            if (view != null)
            {
                view.assignParent(null);
            }
        }