Exemplo n.º 1
0
 public override bool Equals(object o)
 {
     try
     {
         if (o == null)
         {
             return(false);
         }
         android.view.ViewTreeObserver.InternalInsetsInfo other = (android.view.ViewTreeObserver
                                                                   .InternalInsetsInfo)o;
         if (mTouchableInsets != other.mTouchableInsets)
         {
             return(false);
         }
         if (!contentInsets.Equals(other.contentInsets))
         {
             return(false);
         }
         if (!visibleInsets.Equals(other.visibleInsets))
         {
             return(false);
         }
         return(touchableRegion.Equals(other.touchableRegion));
     }
     catch (System.InvalidCastException)
     {
         return(false);
     }
 }