Exemplo n.º 1
0
        /// When the <c>BackView</c> changed
        private static void BackViewChanged(BindableObject obj, View oldValue, View newValue)
        {
            MyViewFlipper myviewflipper = obj as MyViewFlipper;

            if (myviewflipper == null || newValue == null)
            {
                return;
            }

            myviewflipper.SetBackviewRotation();
        }
Exemplo n.º 2
0
        /// When the <c>RotationDirection</c> changed
        private static void RotationDirectionChanged(BindableObject obj, RotationDirection oldValue, RotationDirection newValue)
        {
            MyViewFlipper flipper = obj as MyViewFlipper;

            if (flipper == null || flipper.BackView == null)
            {
                return;
            }

            flipper.SetBackviewRotation();
        }