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

            _CustomCell.SendLongCommand();

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

            _Execute?.Invoke();
            if (_CustomCell.KeepSelectedUntilBack)
            {
                adapter.SelectedRow(this, position);
            }
        }
예제 #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();
        }
예제 #5
0
 protected internal override void RowSelected(SettingsViewRecyclerAdapter adapter, int position)
 {
     CreateDialog();
 }
예제 #6
0
 protected internal virtual bool RowLongPressed(SettingsViewRecyclerAdapter adapter, int position) => false;
예제 #7
0
 protected internal virtual void RowSelected(SettingsViewRecyclerAdapter adapter, int position)
 {
 }
예제 #8
0
 protected internal override void RowSelected(SettingsViewRecyclerAdapter adapter, int position)
 {
     _Accessory.Checked = !_Accessory.Checked;
 }