Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. Learn more. Android Asyntask: Use weak reference for context to avoid device rotate screen. Ask Question Asked 8 years ago. Active 4 years, 10 months ago. Viewed 28k times 33. 13. In Apress Pro Android 4 the author has said that: (.) context of currently running activity will no.