Ejemplo n.º 1
0
            public WindowInsets OnApplyWindowInsets(View v, WindowInsets insets)
            {
                _insetsListener?.Invoke(this, insets);
                // We need to consume insets here since we will handle them in the Window.Android.cs
#pragma warning disable 618
                return(insets.ConsumeSystemWindowInsets());

#pragma warning restore 618
            }
Ejemplo n.º 2
0
 public WindowInsets OnApplyWindowInsets(View v, WindowInsets insets)
 {
     _insetsListener?.Invoke(this, insets);
     // We need to consume insets here since we will handle them in the Window.Android.cs
     return(insets.ConsumeSystemWindowInsets());
 }