Code example for ArrayAdapter

Methods: notifyDataSetChanged

2
	} 
 
	protected void notifyDataSetChanged() { 
		ListAdapter listAdapter = getListAdapter();
    	if (listAdapter!=null && listAdapter instanceof ArrayAdapter) {
    		((ArrayAdapter<?>)listAdapter).notifyDataSetChanged();
    	} else { 
    		Log.w(TAG, "Could not update list Array Adapter");
    	} 
	} 
 
	@Override 
	public boolean isIntegrateWithHistoryManager() { 
		return commonActivityBase.isIntegrateWithHistoryManager();
	} 
	@Override 
	public void setIntegrateWithHistoryManager(boolean integrateWithHistoryManager) {
		commonActivityBase.setIntegrateWithHistoryManager(integrateWithHistoryManager);
	} 
 
    /** allow activity to enhance intent to correctly restore state */