Example #1
0
 public void SetOnViewAttachListener(OnViewAttachListener listener)
 {
     this.listener?.OnDetach();
     this.listener = listener;
     if (ViewCompat.IsAttachedToWindow(view))
     {
         listener?.OnAttach();
     }
 }
Example #2
0
 public void OnAttachedToWindow()
 {
     listener?.OnAttach();
 }