Exemple #1
0
 public override void RowSelected(SettingsViewRecyclerAdapter adapter, int position)
 {
     Execute?.Invoke();
     if (_CommandCell.KeepSelectedUntilBack)
     {
         adapter.SelectedRow(this, position);
     }
 }
 public override void RowSelected(SettingsViewRecyclerAdapter adapter, int position)
 {
     if (!CustomCell.IsSelectable)
     {
         return;
     }
     Execute?.Invoke();
     if (CustomCell.KeepSelectedUntilBack)
     {
         adapter.SelectedRow(this, position);
     }
 }
        /// <summary>
        /// Rows the selected.
        /// </summary>
        /// <param name="adapter">Adapter.</param>
        /// <param name="position">Position.</param>
        public override void RowSelected(SettingsViewRecyclerAdapter adapter, int position)
        {
            if (_PickerCell.ItemsSource == null)
            {
                return;
            }

            if (_PickerCell.ItemsSource.Count == 0)
            {
                return;
            }

            if (_PickerCell.KeepSelectedUntilBack)
            {
                adapter.SelectedRow(this, position);
            }
            ShowDialog();
        }