public void setEmptyText ( CharSequence emptyText ) { if ( mListView != null ) { View emptyView = mListView . getEmptyView ( ) ; if ( emptyText instanceof TextView ) { ( ( TextView ) emptyView ) . setText ( emptyText ) ; } } }
The default content for this Activity has a TextView that is shown when the list is empty . If you would like to change the text call this method to supply the text it should use .