Code example for BaseAdapter

Methods: notifyDataSetChanged

0
	} 
 
	public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
		title = animationList.get(position);
		animation = position;
		adapter.notifyDataSetChanged();
		animationDialog.dismiss();
	} 
 
	public void onDismiss(DialogInterface dialog) {
		durationSeconds = (int) Math.round(((DroneSelectTimeDialogInteger) dialog).getValue());
		adapter.notifyDataSetChanged();
		dialog.cancel();
	} 
 
	public int getRequiredResources() { 
		return WIFI_DRONE; 
	} 
 
}