Пример #1
0
        protected override void DisconnectHandler(MaterialButton nativeView)
        {
            ClickListener.Handler = null;
            nativeView.SetOnClickListener(null);

            TouchListener.Handler = null;
            nativeView.SetOnTouchListener(null);

            ImageSourceLoader.Reset();

            base.DisconnectHandler(nativeView);
        }
Пример #2
0
        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);
        }