Searched refs:ShadowCountingAdapter (Results 1 – 3 of 3) sorted by relevance
52 adapterView.setAdapter(new ShadowCountingAdapter(2)); in testSetAdapter_ShouldCauseViewsToBeRenderedAsynchronously()74 adapterView.setAdapter(new ShadowCountingAdapter(0)); in testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty()84 adapterView.setAdapter(new ShadowCountingAdapter(1)); in testSetEmptyView_ShouldHideEmptyViewIfAdapterViewIsNotEmpty()94 ShadowCountingAdapter adapter = new ShadowCountingAdapter(0); in testSetEmptyView_ShouldHideEmptyViewWhenAdapterGetsNewItem()112 ShadowCountingAdapter adapter = new ShadowCountingAdapter(1); in testSetEmptyView_ShouldHideAdapterViewWhenAdapterBecomesEmpty()
9 class ShadowCountingAdapter extends BaseAdapter { class12 public ShadowCountingAdapter(int itemCount) { in ShadowCountingAdapter() method in ShadowCountingAdapter
61 listView.setAdapter(new ShadowCountingAdapter(2)); in addHeaderView_ShouldRecordHeaders()90 listView.setAdapter(new ShadowCountingAdapter(3)); in addFooterView_ShouldRecordFooters()356 listView.setAdapter(new ShadowCountingAdapter(3)); in prepareListWithThreeItems()