List of usage examples for android.widget Adapter isEmpty
boolean isEmpty();
From source file:com.google.android.demos.jamendo.widget.StatusViewManager.java
private boolean isEmpty() { // Don't use AdapterView#getCount() because it is updated asynchronously Adapter adapter = mAdapterView.getAdapter(); return adapter == null || adapter.isEmpty(); }