Code example for SpinnerAdapter

Methods: unregisterDataSetObserver

0
            } 
        } 
 
        public void unregisterDataSetObserver(DataSetObserver observer) {
            if (mAdapter != null) {
                mAdapter.unregisterDataSetObserver(observer);
            } 
        } 
 
        /** 
         * If the wrapped SpinnerAdapter is also a ListAdapter, delegate this call. 
         * Otherwise, return true.  
         */ 
        public boolean areAllItemsEnabled() { 
            final ListAdapter adapter = mListAdapter;
            if (adapter != null) {
                return adapter.areAllItemsEnabled();
            } else { 
                return true; 
            } 
        }