Code example for ListView

Methods: getAdapter

0
	public void testSpinnerCount() { 
		assertTrue(spinner.getAdapter().getCount()==3);
	} 
	 
	public void testListDefaultCount() { 
		assertTrue(list.getAdapter().getCount()>0);
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java