Exemple #1
0
 protected internal override void RowSelected(SettingsViewRecyclerAdapter adapter, int position)
 {
     Run();
     if (_CommandCell.KeepSelectedUntilBack)
     {
         adapter.SelectedRow(this, position);
     }
 }
Exemple #2
0
        protected internal override bool RowLongPressed(SettingsViewRecyclerAdapter adapter, int position)
        {
            if (_CustomCell.LongCommand == null)
            {
                return(false);
            }

            _CustomCell.SendLongCommand();

            return(true);
        }
Exemple #3
0
        protected internal override void RowSelected(SettingsViewRecyclerAdapter adapter, int position)
        {
            if (!_CustomCell.IsSelectable)
            {
                return;
            }

            _Execute?.Invoke();
            if (_CustomCell.KeepSelectedUntilBack)
            {
                adapter.SelectedRow(this, position);
            }
        }
Exemple #4
0
        protected internal override void RowSelected(SettingsViewRecyclerAdapter adapter, int position)
        {
            if (_PickerCell.ItemsSource == null ||
                _PickerCell.ItemsSource.Count == 0)
            {
                return;
            }

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

            ShowDialog();
        }
Exemple #5
0
 protected internal override void RowSelected(SettingsViewRecyclerAdapter adapter, int position)
 {
     CreateDialog();
 }
Exemple #6
0
 protected internal virtual bool RowLongPressed(SettingsViewRecyclerAdapter adapter, int position) => false;
Exemple #7
0
 protected internal virtual void RowSelected(SettingsViewRecyclerAdapter adapter, int position)
 {
 }
Exemple #8
0
 protected internal override void RowSelected(SettingsViewRecyclerAdapter adapter, int position)
 {
     _Accessory.Checked = !_Accessory.Checked;
 }