Code example for Adapter

Methods: isEmpty

0
     */ 
    public void setEmptyView(View emptyView) {
        mEmptyView = emptyView;
 
        final Adapter adapter = getAdapter();
        final boolean empty = ((adapter == null) || adapter.isEmpty());
        updateEmptyStatus(empty);
    } 
     
     
 
    private Adapter getAdapter() {
		// TODO Auto-generated method stub 
		return mAdapter;
	} 
     
//    private class AddViewTask extends AsyncTask<Observer, Void, Observer>{ 
//    	 
//		@Override 
//		protected Observer doInBackground(Observer... observer) { 
//			final LinearLayoutAdaptable linearLayoutAdaptable = observer[0].linearLayoutAdaptable;