Class APIReaders.WeatherWarningsRunnable
- java.lang.Object
-
- de.kaffeemitkoffein.tinyweatherforecastgermany.APIReaders.WeatherWarningsRunnable
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- APIReaders
public static class APIReaders.WeatherWarningsRunnable extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description ContextcontextWeather.WeatherLocationweatherLocation
-
Constructor Summary
Constructors Constructor Description WeatherWarningsRunnable(Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ArrayList<WeatherWarning>doInBackground()longgetTimeStampFromString(java.lang.String source)voidonNegativeResult()voidonPositiveResult()voidonPositiveResult(java.util.ArrayList<WeatherWarning> warnings)voidonStart()voidrun()
-
-
-
Field Detail
-
context
public Context context
-
weatherLocation
public Weather.WeatherLocation weatherLocation
-
-
Method Detail
-
getTimeStampFromString
public long getTimeStampFromString(java.lang.String source)
-
doInBackground
public java.util.ArrayList<WeatherWarning> doInBackground()
-
onStart
public void onStart()
-
onNegativeResult
public void onNegativeResult()
-
onPositiveResult
public void onPositiveResult()
-
onPositiveResult
public void onPositiveResult(java.util.ArrayList<WeatherWarning> warnings)
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
-