class CheckFirstRun : AsyncTask<String, Void, Void>
Task to run the first run check in the background For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!
Author
Kenneth Soh
Since
2019-09-16
Callback |
Internal interface to handle callbacks interface Callback |
<init> |
Initializees the task to execute CheckFirstRun(activity: Activity, callback: Callback) |
actRef |
WeakReference<(android.app.Activity..android.app.Activity?)> A weak reference to the activity val actRef: WeakReference<Activity!> |
callback |
Callback Callback to call when task completes val callback: Callback |
doCallback |
Sends a callback back to the calling activity fun doCallback(success: Boolean, activity: Activity): Unit |
doInBackground |
Internal task to execute in the background on a seperate thread fun doInBackground(vararg p0: String?): Void? |
TAG |
Activity Tag for logs const val TAG: String |