private class DayFragment.GetHolidayContent
extends android.os.AsyncTask<java.lang.Void,java.lang.Void,java.lang.Void>
| Modifier | Constructor and Description |
|---|---|
private |
DayFragment.GetHolidayContent() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Void |
doInBackground(java.lang.Void... params)
Gets the content on a background thread and updates
the list view of content.
|
protected void |
onPostExecute(java.lang.Void result)
Sorts the content by distance, and notifies
the list view that the content has changed.
|
protected void |
onPreExecute()
Sets the refresh spinner on.
|
protected java.lang.Void doInBackground(java.lang.Void... params)
doInBackground in class android.os.AsyncTask<java.lang.Void,java.lang.Void,java.lang.Void>params - the parameters of the method, which
are void.protected void onPostExecute(java.lang.Void result)
onPostExecute in class android.os.AsyncTask<java.lang.Void,java.lang.Void,java.lang.Void>result - a void parameter.protected void onPreExecute()
onPreExecute in class android.os.AsyncTask<java.lang.Void,java.lang.Void,java.lang.Void>