public void SetLayoutManager(CircularRecyclerLayoutManager manager, ViewHolder selectVh = null)
        {
            if (layoutManager == manager)
            {
                return;
            }

            if (selectVh != null)
            {
                currentIndex = selectVh.BindingIndex;
            }
            else
            {
                //Show Watchface view
                currentIndex = CENTER_INDEX;
            }

            layoutManager = manager;
            layoutManager.animator.animationFinished += FinishAnimation;

            extraItemIdx = currentIndex;
            layoutManager.OrderByIndex(this);
            if (adapter.GetItemCount() == 1)
            {
                MakeLastWidgetPage(1);
            }
            MakeLastNotifyPage();
        }
        public CircularRecycler()
        {
            PivotPoint             = Tizen.NUI.PivotPoint.Center;
            PositionUsesPivotPoint = true;

            containerView = new View()
            {
                WidthSpecification  = LayoutParamPolicies.WrapContent,
                HeightSpecification = 360,
            };
            this.Add(containerView);

            panDetector = new PanGestureDetector();
            panDetector.Attach(this);
            panDetector.Detected += PanDetector_Detected;

            layoutManager = new DefaultLayoutManager();

            viewHolderList = new List <ViewHolder>();

            CreateLastPage();
        }