Ejemplo n.º 1
0
 private void unselect()
 {
     if (currentSelectedItem != null)
     {
         currentSelectedItem.MarkUnselected();
         currentSelectedItem = null;
     }
 }
Ejemplo n.º 2
0
 private void select(LoopingSelectorItemBase selectedItem)
 {
     this.currentSelectedItem = selectedItem;
     selectedItem.MarkSelected();
 }
Ejemplo n.º 3
0
        private async Task <bool> scrollIntoView(LoopingSelectorItemBase item, bool useAnimation = false)
        {
            double offset = dataSource.IndexOf(item);

            return(await scrollTo(offset *itemHeight, useAnimation));
        }