Code example for BaseAdapter

Methods: notifyDataSetChanged

0
		private BaseAdapter adapter;
		public Invalidator(BaseAdapter adapter) {
			this.adapter=adapter;
		} 
		public void run() { 
			adapter.notifyDataSetChanged();
		} 
	} 
	 
	private boolean running=true;
	 
	public void run() { 
		while (running) 
			try { 
		  		ctx.runOnUiThread(myInvalidator);	
		  		Thread.sleep(200);
		  	} 
			catch (Exception e) {}
	} 
				 
}