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; }
public PersonListFilter(PersonSectionListAdapter <TListItemType> sectionedListAdapter) { this.sectionedListAdapter = sectionedListAdapter; _context = sectionedListAdapter.Activity; }