@Test public void testGetCount() throws Exception { assertThat(namesAdapter.getCount(), equalTo(names.size())); }
@Override public int getCount() { return names.size(); }
NamesAdapter extends BaseAdapter { @Override public int getCount() { return names.size(); } }
NamesAdapter extends BaseAdapter { @Override public int getCount() { return names.size(); } NamesAdapter(List<String> names); }
NamesAdapter extends BaseAdapter { @Override public int getCount() { return names.size(); } NamesAdapter(List<String> names); @Override int getCount(); @Override Object getItem(int position); @Override long getItemId(int position); @Override View getView(int position, View convertView, ViewGroup parent); }
NamesAdapter extends BaseAdapter { @Override public int getCount() { return names.size(); } NamesAdapter(List<String> names); @Override int getCount(); @Override Object getItem(int position); @Override long getItemId(int position); @Override View getView(int position, View convertView, ViewGroup parent);  }