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
            }
Example #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());
 }