app / sg.edu.ntu.scse.cz2006.gymbuddies.tasks / ParseGymDataFile

ParseGymDataFile

class ParseGymDataFile : AsyncTask<Void, Void, Void>

Task to parse the gym data file from the app resource For sg.edu.ntu.scse.cz2006.gymbuddies.tasks in Gym Buddies!

Author
Kenneth Soh

Since
2019-09-17

Types

Callback

Internal interface to handle callbacks

interface Callback

Constructors

<init>

Initializees the task to execute

ParseGymDataFile(activity: Activity, callback: Callback)

Properties

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

Functions

doInBackground

Internal task to execute in the background on a seperate thread

fun doInBackground(vararg p0: Void?): Void?