Exemplo n.º 1
0
        public void FlipScreen(int resource, bool isBackCommand = false, bool isRefresh = false)
        {
            if (_flipper == null)
            {
                _flipper = new CustomFlipper(this);
                SetContentView(_flipper);
            }

            var inflator = (LayoutInflater)GetSystemService(LayoutInflaterService);
            View view = inflator.Inflate(resource, null);
            FlipScreen(view, isBackCommand, isRefresh);
        }
Exemplo n.º 2
0
        public void FlipScreen(int resource, bool isBackCommand = false, bool isRefresh = false)
        {
            if (_flipper == null)
            {
                _flipper = new CustomFlipper(this);
                SetContentView(_flipper);
            }

            var  inflator = (LayoutInflater)GetSystemService(LayoutInflaterService);
            View view     = inflator.Inflate(resource, null);

            FlipScreen(view, isBackCommand, isRefresh);
        }