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

            _CustomCell.SendLongCommand();

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

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