This repository has been archived by the owner on May 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix forum crashes when view or activity is null
This commit fixes the case when a network task returns (whether it be a success or a failure) if the fragment has been destroyed due to pager having moved to another page or the activity being finished, a crash occurs cuz it can't find a non-null activity context or fragment's view.
- Loading branch information
1 parent
bf833d4
commit 7e6efba
Showing
1 changed file
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters