Exemplo n.º 1
0
 private void DetachLayoutListener()
 {
     if (layoutListener != null)
     {
         ViewTreeObserver.RemoveGlobalOnLayoutListener(layoutListener);
         layoutListener = null;
     }
 }
Exemplo n.º 2
0
 private void DetachLayoutListener()
 {
     if (layoutListener != null)
     {
         ViewTreeObserver.RemoveGlobalOnLayoutListener(layoutListener);
         layoutListener = null;
     }
 }
Exemplo n.º 3
0
 private void AttachLayoutListener()
 {
     layoutListener = new LayoutListener(this);
     ViewTreeObserver.AddOnGlobalLayoutListener(layoutListener);
 }
Exemplo n.º 4
0
 private void AttachLayoutListener()
 {
     layoutListener = new LayoutListener(this);
     ViewTreeObserver.AddOnGlobalLayoutListener(layoutListener);
 }