I am writing an android app that allows for the user to update some info to google drive with the google sheets API.
I have one activity that updates one spreadsheet, and another activity that updates a different spreadsheet.
I have an asynctask in each activity that is responsible for executing the updating code.
My issue is: I start the first activity - the user starts asynctask over there and simultaneously I also start the second activity, and over there the user starts the second asynctask - meaning I can't be sure which asynctask will finish first.
I want to report an error if one or two of the AsyncTasks fail.
My question is - How can I interact between two PostExecute Methods in different activities?
Any ideas?