Searched refs:emptyView (Results 1 – 2 of 2) sorted by relevance
118 View emptyView = new View(adapterView.getContext()); in testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull() local119 adapterView.setEmptyView(emptyView); in testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull()122 assertThat(emptyView.getVisibility(), is(View.VISIBLE)); in testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull()128 View emptyView = new View(adapterView.getContext()); in testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty() local129 adapterView.setEmptyView(emptyView); in testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty()132 assertThat(emptyView.getVisibility(), is(View.VISIBLE)); in testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty()138 View emptyView = new View(adapterView.getContext()); in testSetEmptyView_ShouldHideEmptyViewIfAdapterViewIsNotEmpty() local139 adapterView.setEmptyView(emptyView); in testSetEmptyView_ShouldHideEmptyViewIfAdapterViewIsNotEmpty()142 assertThat(emptyView.getVisibility(), is(View.GONE)); in testSetEmptyView_ShouldHideEmptyViewIfAdapterViewIsNotEmpty()149 View emptyView = new View(adapterView.getContext()); in testSetEmptyView_ShouldHideEmptyViewWhenAdapterGetsNewItem() local[all …]
50 public void setEmptyView(View emptyView) { in setEmptyView() argument51 this.mEmptyView = emptyView; in setEmptyView()