public void setEmptyView ( View emptyView ) { mEmptyView = emptyView ; final ListAdapter adapter = getAdapter ( ) ; final boolean empty = ( ( adapter == null ) || adapter . isEmpty ( ) ) ; updateEmptyStatus ( empty ) ; }
Sets the view to show if the adapter is empty