GetCurrentItem() public method

public GetCurrentItem ( ) : int
return int
Beispiel #1
0
        protected override IParcelable OnSaveInstanceState()
        {
            var superState = base.OnSaveInstanceState();
            var savedState = new SavedState(superState, _viewAbove.GetCurrentItem());

            return(savedState);
        }
        protected override IParcelable OnSaveInstanceState()
        {
            var    superState = base.OnSaveInstanceState();
            Bundle state      = new Bundle();

            state.PutParcelable("base", superState);
            state.PutInt("currentPosition", _viewAbove.GetCurrentItem());

            return(state);
        }