summaryrefslogtreecommitdiff
path: root/vdrmanager/src/de/bjusystems
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2014-05-31 10:11:08 +0200
committerlado <herrlado@gmail.com>2014-05-31 10:11:08 +0200
commitc850724ef3ff1605c2fd68e2a1afa583cd11706c (patch)
tree06e209536bf2f653f49ca507668a48ef93eb180e /vdrmanager/src/de/bjusystems
parent04fb34e792dffa05b144f05262a48156b2a0bb0e (diff)
downloadvdr-manager-c850724ef3ff1605c2fd68e2a1afa583cd11706c.tar.gz
vdr-manager-c850724ef3ff1605c2fd68e2a1afa583cd11706c.tar.bz2
12v12
Diffstat (limited to 'vdrmanager/src/de/bjusystems')
-rw-r--r--vdrmanager/src/de/bjusystems/vdrmanager/gui/EpgDetailsActivity.java13
1 files changed, 4 insertions, 9 deletions
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);