diff options
| author | SammysHP <sven@sammyshp.de> | 2011-11-23 16:03:44 +0100 |
|---|---|---|
| committer | SammysHP <sven@sammyshp.de> | 2011-11-23 16:03:44 +0100 |
| commit | b4eaf66670760969f72b1244f298654484ee5731 (patch) | |
| tree | aa345cd6acada40c3af70871f61a07b3542dd610 /main/src/cgeo/geocaching/cgeocaches.java | |
| parent | df4bf84d783744790b1aa2975e8373261eb6ca06 (diff) | |
| download | cgeo-b4eaf66670760969f72b1244f298654484ee5731.zip cgeo-b4eaf66670760969f72b1244f298654484ee5731.tar.gz cgeo-b4eaf66670760969f72b1244f298654484ee5731.tar.bz2 | |
New: Horizontal scrollable pages for cache-details using a ViewPager.
This moves most of the code from "cgeodetail" into a new class "CacheDetailActivity". Some important parts are rewritten and the code is much more structured.
This closes #83 "Redesign detail-view".
Some minor changes will be added later (e.g. removing old files, improve log-count-display)
Diffstat (limited to 'main/src/cgeo/geocaching/cgeocaches.java')
| -rw-r--r-- | main/src/cgeo/geocaching/cgeocaches.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/cgeocaches.java b/main/src/cgeo/geocaching/cgeocaches.java index 40200db..f3b20b7 100644 --- a/main/src/cgeo/geocaching/cgeocaches.java +++ b/main/src/cgeo/geocaching/cgeocaches.java @@ -1203,7 +1203,7 @@ public class cgeocaches extends AbstractListActivity { } else if (id == MENU_LOG_VISIT) { return getCacheFromAdapter(adapterInfo).logVisit(this); } else if (id == MENU_CACHE_DETAILS) { - final Intent cachesIntent = new Intent(this, cgeodetail.class); + final Intent cachesIntent = new Intent(this, CacheDetailActivity.class); final cgCache cache = getCacheFromAdapter(adapterInfo); cachesIntent.putExtra("geocode", cache.getGeocode().toUpperCase()); cachesIntent.putExtra("name", cache.getName()); |
