Code example for ResourceCursorAdapter

Methods: getCursor, notifyDataSetChanged

0
 
	@Override 
	public void notifyDataSetChanged() { 
		if (DBG)
			Log.d(LOG_TAG, "notifyDataSetChanged");
		super.notifyDataSetChanged(); 
 
		updateSpinnerState(getCursor());
	} 
 
	@Override 
	public void notifyDataSetInvalidated() { 
		if (DBG)
			Log.d(LOG_TAG, "notifyDataSetInvalidated");
		super.notifyDataSetInvalidated(); 
 
		updateSpinnerState(getCursor());
	} 
 
	private void updateSpinnerState(Cursor cursor) {
Contextual code suggestions in your IDE  Get Codota for Java