Exemplo n.º 1
0
        protected void SetNewAdapter <TListType>(PersonSectionListAdapter <TListItemType> newAdapter, bool isOnUiThread = false)
        {
            if (!isOnUiThread)
            {
                this.RunOnUiThread(
                    () =>
                {
                    this.SetNewAdapter <TListType>(newAdapter, true);
                });
                return;
            }

            this.PersonSectionAdapter   = newAdapter;
            this.PersonListView.Adapter = newAdapter;
        }
Exemplo n.º 2
0
 public PersonListFilter(PersonSectionListAdapter <TListItemType> sectionedListAdapter)
 {
     this.sectionedListAdapter = sectionedListAdapter;
     _context = sectionedListAdapter.Activity;
 }