void OnRemoveSubviews(object sender, EventArgs e)
 {
     if (parentView != null)
     {
         parentView.RemoveFromSuperview();
         parentView = null;
     }
 }
예제 #2
0
 void OnRemoveSubviews(object sender, EventArgs e)
 {
     if (parentView != null)
     {
         parentView.RemoveFromSuperview();
         // This fixes the problem - 1st approach
         //parentView.Dispose ();
         parentView = null;
     }
 }