Class Areas.AreaDatabaseCreator
- java.lang.Object
-
- de.kaffeemitkoffein.tinyweatherforecastgermany.Areas.AreaDatabaseCreator
-
- Enclosing class:
- Areas
public static class Areas.AreaDatabaseCreator extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
DATABASE_SIZE
-
Constructor Summary
Constructors Constructor Description AreaDatabaseCreator(Context context, java.util.concurrent.Executor executor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
areAreasUpToDate(Context context)
void
create()
static int
getAreaDataVersion(Context context)
static int
getAreaDataVersion(java.lang.String versionLine)
void
onFinished()
void
setProgressSteps(int p)
void
showProgress(int progress, java.lang.String text)
-
-
-
Field Detail
-
DATABASE_SIZE
public static final int DATABASE_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAreaDataVersion
public static int getAreaDataVersion(java.lang.String versionLine)
-
getAreaDataVersion
public static int getAreaDataVersion(Context context)
-
areAreasUpToDate
public static boolean areAreasUpToDate(Context context)
-
setProgressSteps
public void setProgressSteps(int p)
-
create
public void create()
-
showProgress
public void showProgress(int progress, java.lang.String text)
-
onFinished
public void onFinished()
-
-