Code example for DataSetObservable

Methods: notifyInvalidated

0
	public void deactivate() { 
		if ( mCursorCount > 0 ) {
			mCursorCount = 0;
			 
			if ( null != mObserveDataSet ) {
				mObserveDataSet.notifyInvalidated();
			} 
		} 
	} 
	 
	public void copyStringToBuffer( int arg0 , CharArrayBuffer arg1 ) { /*arg1.data = getString( arg0 ).toCharArray(); arg1.sizeCopied = arg1.data.length;*/ }
	public int getColumnCount() { return 1; } 
	public int getColumnIndex( String arg0 ) { return 0; }
	public int getColumnIndexOrThrow( String arg0 ) throws IllegalArgumentException {
		int result = getColumnIndex( arg0 );
		 
		//	column "_id" required by SimpleCursorAdapter 
		if ( result < 0 && !arg0.equals( "_id" ) ) {
			throw new IllegalArgumentException( "" );
		}