protected override void DrawableStateChanged()
        {
            base.DrawableStateChanged();
            _extraState = OnCreateDrawableState(1);
            var setAsInt = SelectedStateSet.OfType <int>().ToArray();

            MergeDrawableStates(_extraState, setAsInt);
            Invalidate();
        }
        private void InitPageIndicator()
        {
            DotCount     = MinDotCount;
            _gravityFlag = GravityFlags.Center;
            _activeDot   = 0;
            _dotSpacing  = 0;
            _dotType     = DotTypes.Single;

            _extraState = OnCreateDrawableState(1);
            var setAsInt = SelectedStateSet.OfType <int>().ToArray();

            MergeDrawableStates(_extraState, setAsInt);
        }