diff options
author | lado <herrlado@gmail.com> | 2014-05-31 10:11:08 +0200 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2014-05-31 10:11:08 +0200 |
commit | c850724ef3ff1605c2fd68e2a1afa583cd11706c (patch) | |
tree | 06e209536bf2f653f49ca507668a48ef93eb180e /vdrmanager | |
parent | 04fb34e792dffa05b144f05262a48156b2a0bb0e (diff) | |
download | vdr-manager-c850724ef3ff1605c2fd68e2a1afa583cd11706c.tar.gz vdr-manager-c850724ef3ff1605c2fd68e2a1afa583cd11706c.tar.bz2 |
12v12
Diffstat (limited to 'vdrmanager')
-rw-r--r-- | vdrmanager/AndroidManifest.xml | 4 | ||||
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/gui/EpgDetailsActivity.java | 13 |
2 files changed, 6 insertions, 11 deletions
diff --git a/vdrmanager/AndroidManifest.xml b/vdrmanager/AndroidManifest.xml index 771719a..a199013 100644 --- a/vdrmanager/AndroidManifest.xml +++ b/vdrmanager/AndroidManifest.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="de.bjusystems.vdrmanager" - android:versionCode="1260" - android:versionName="12-beta-6" > + android:versionCode="1291" + android:versionName="12.9" > <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/EpgDetailsActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/EpgDetailsActivity.java index 7c725b1..33af528 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/EpgDetailsActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/EpgDetailsActivity.java @@ -165,10 +165,10 @@ public class EpgDetailsActivity extends ICSBaseActivity implements // timerable = (Timerable) cEvent; } - adapter = new Adapter(); + pager = (ViewPager) findViewById(R.id.viewpager); pager.setOnPageChangeListener(this); - pager.setAdapter(adapter); + new VoidAsyncTask() { @@ -209,15 +209,10 @@ public class EpgDetailsActivity extends ICSBaseActivity implements @Override protected void onPostExecute(Void result) { - - // cEvent = epgs.get(counter); - adapter.notifyDataSetChanged(); + adapter = new Adapter(); + pager.setAdapter(adapter); pager.setCurrentItem(counter); onPageSelected(counter); - // current = counter; - // indicator.setViewPager(pager); - - // publishEPG(epg); } }.execute((Void) null); |