Home
last modified time | relevance | path

Searched refs:ShadowCountingAdapter (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DAdapterViewBehavior.java52 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()
DShadowCountingAdapter.java9 class ShadowCountingAdapter extends BaseAdapter { class
12 public ShadowCountingAdapter(int itemCount) { in ShadowCountingAdapter() method in ShadowCountingAdapter
DShadowListViewTest.java61 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()