diff options
| author | Bananeweizen <Bananeweizen@gmx.de> | 2013-03-29 10:02:08 +0100 |
|---|---|---|
| committer | Bananeweizen <Bananeweizen@gmx.de> | 2013-03-29 10:02:08 +0100 |
| commit | fc32c233b8a4f52e948d6d09c029a73c4a7a7a15 (patch) | |
| tree | f0f0df5966ea155c48285d20e12f4b57e2fd2d6c /main/src/cgeo/geocaching/export/AbstractExport.java | |
| parent | b3c74231b10ad15ed00b4107cf9f456c74978d51 (diff) | |
| download | cgeo-fc32c233b8a4f52e948d6d09c029a73c4a7a7a15.zip cgeo-fc32c233b8a4f52e948d6d09c029a73c4a7a7a15.tar.gz cgeo-fc32c233b8a4f52e948d6d09c029a73c4a7a7a15.tar.bz2 | |
#1798: refactoring, extract common asynctask with progress
Diffstat (limited to 'main/src/cgeo/geocaching/export/AbstractExport.java')
| -rw-r--r-- | main/src/cgeo/geocaching/export/AbstractExport.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/export/AbstractExport.java b/main/src/cgeo/geocaching/export/AbstractExport.java index 72ea544..e4ba5f0 100644 --- a/main/src/cgeo/geocaching/export/AbstractExport.java +++ b/main/src/cgeo/geocaching/export/AbstractExport.java @@ -1,5 +1,6 @@ package cgeo.geocaching.export; +import cgeo.geocaching.R; import cgeo.geocaching.cgeoapplication; abstract class AbstractExport implements Export { @@ -27,7 +28,7 @@ abstract class AbstractExport implements Export { /** * Generates a localized string from a resource id. - * + * * @param resourceId * the resource id of the string * @param params @@ -43,4 +44,8 @@ abstract class AbstractExport implements Export { // used in the array adapter of the dialog showing the exports return getName(); } + + protected String getProgressTitle() { + return getString(R.string.export) + ": " + getName(); + } } |
