Code example for AnimationDrawable

Methods: setOneShotstart

0
		} 
		 
		sImage.setImageDrawable(result);
		name.setText(originalName);
		 
	    anim.setOneShot(false);
	    anim.start();
	} 
	 
	@Override 
	protected void onPreExecute () { 
		sImage.setImageResource(R.drawable.radar);
		name.setText(originalName);
	} 
	 
	@Override 
	protected void onProgressUpdate (String... values) {
		name.setText(values[0]);		
	} 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE