private void NotifyDataSetThreadSafe()
        {
            var handler = new Handler(Context.MainLooper);

            handler.Post(() =>
            {
                NotifyDataSetChanged();
                DataSetChanged?.Invoke(this, EventArgs.Empty);
            });
        }
Example #2
0
 protected virtual void RaiseDataSetChanged()
 {
     DataSetChanged?.Invoke(this, EventArgs.Empty);
 }
Example #3
0
 public void ReloadData()
 {
     DataSetChanged?.Invoke(this, EventArgs.Empty);
     CheckIfHaveTable();
     TableView.InvokeOnMainThread(TableView.ReloadData);
 }
Example #4
0
 private void RaiseDataSetChanged()
 {
     DataSetChanged?.Invoke(this, EventArgs.Empty);
 }
 public void ReloadData()
 {
     AppTools.InvokeOnMainThread(() => DataSetChanged?.Invoke(this, EventArgs.Empty));
 }
        public override void NotifyDataSetChanged(NotifyCollectionChangedEventArgs e)
        {
            base.NotifyDataSetChanged(e);

            DataSetChanged?.Invoke(this, e);
        }
 public void ReloadData()
 {
     DataSetChanged?.Invoke(this, EventArgs.Empty);
     CheckIfHaveTable();
     CollectionView.ReloadData();
 }
Example #8
0
 private void TicketReposAdapter_DataSetChanged(object sender)
 {
     DataSetChanged.Invoke(sender);
 }