apps-android-wikipedia
apps-android-wikipedia copied to clipboard
Fix: Use Job to prevent adding up total contributions twice
The refreshContents() in SuggestedEditsTasksFragment will be called twice from onResume in SuggestedEditsTasksFragment and also onActivityResult() in MainFragment.
This PR adds a Job to cancel the previous calls and only push one result to the fragment.
Bug: T363195