public class PurchaseHistoryAsync extends android.os.AsyncTask<PurchaseHistoryInputModel,java.lang.Void,java.lang.Void>
Modifier and Type | Class and Description |
---|---|
static interface |
PurchaseHistoryAsync.PurchaseHistoryListener
Interface used to allow the caller of a PurchaseHistoryAsyntask to run some code when get
responses.
|
Constructor and Description |
---|
PurchaseHistoryAsync(PurchaseHistoryInputModel purchaseHistoryInputModel,
PurchaseHistoryAsync.PurchaseHistoryListener listener,
android.content.Context context)
Constructor to initialise the private data members.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Void |
doInBackground(PurchaseHistoryInputModel... params)
Background thread to execute.
|
protected void |
onPostExecute(java.lang.Void result) |
protected void |
onPreExecute() |
public PurchaseHistoryAsync(PurchaseHistoryInputModel purchaseHistoryInputModel, PurchaseHistoryAsync.PurchaseHistoryListener listener, android.content.Context context)
purchaseHistoryInputModel
- listener
- context
- protected java.lang.Void doInBackground(PurchaseHistoryInputModel... params)
doInBackground
in class android.os.AsyncTask<PurchaseHistoryInputModel,java.lang.Void,java.lang.Void>
protected void onPreExecute()
onPreExecute
in class android.os.AsyncTask<PurchaseHistoryInputModel,java.lang.Void,java.lang.Void>
protected void onPostExecute(java.lang.Void result)
onPostExecute
in class android.os.AsyncTask<PurchaseHistoryInputModel,java.lang.Void,java.lang.Void>