Code example for SpinnerAdapter

Methods: registerDataSetObserver

0
            return mAdapter != null && mAdapter.hasStableIds();
        } 
 
        public void registerDataSetObserver(DataSetObserver observer) {
            if (mAdapter != null) {
                mAdapter.registerDataSetObserver(observer);
            } 
        } 
 
        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;