AsyncTask when is onCancelled() is called besides calling AsyncTask.cancel ?
        Posted  
        
            by 
                chippy
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by chippy
        
        
        
        Published on 2010-12-27T06:48:50Z
        Indexed on 
            2010/12/27
            6:53 UTC
        
        
        Read the original article
        Hit count: 215
        
Hi Im new to android.
Currently I have a View which has a AsyncTask class used for decoding. But eventhough AsyncTask.cancel() is not called within my class, onCancelled() has been called which resulted to some abnormal process in my application.
I would like to ask if what are any instances that AsyncTask.onCancelled() will be called besides when calling the AsyncTask.cancel()
Any help would be appreciated. Thanks alot in advance
© Stack Overflow or respective owner