protected override void DisconnectHandler(MaterialButton nativeView) { ClickListener.Handler = null; nativeView.SetOnClickListener(null); TouchListener.Handler = null; nativeView.SetOnTouchListener(null); ImageSourceLoader.Reset(); base.DisconnectHandler(nativeView); }
protected override void DisconnectHandler(MaterialButton platformView) { ClickListener.Handler = null; platformView.SetOnClickListener(null); TouchListener.Handler = null; platformView.SetOnTouchListener(null); platformView.FocusChange -= OnNativeViewFocusChange; ImageSourceLoader.Reset(); base.DisconnectHandler(platformView); }