Code example for Animation

Methods: cancel, reset

0
            this.aiv = aiv;
        } 
 
        @Override 
        protected void onPostExecute(Bitmap drawable) {
            a.cancel();
            a.reset();
            aiv.clearAnimation();
            if (drawable != null) {
                //aiv.setImageBitmap(drawable); 
                aiv.displayFile();
            } 
 
        } 
 
        @Override 
        protected Bitmap doInBackground(String... urls) {
            URL url;
            InputStream in;
            BufferedInputStream buf;