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