Code example for Animation

Methods: cancelhasEnded

0
        } 
	} 
 
    private void stopExistingAnimation() { 
        Animation old = imageView.getAnimation();
        if (old != null && !old.hasEnded()) {
            old.cancel();
        } 
    } 
 
    public void setResourceBitmap(Bitmap resourceAsBitmap) {
        imageView.setImageBitmap(resourceAsBitmap);
    } 
 
    public boolean isCorrectUrl(String url) {
		return url.equals(getUrl());
	} 
 
	public int getLoadingResourceId() { 
		return loadingResourceId;
Stop searching for code, let great code find you!  Add Codota to your java IDE