From df7eb7d37718facd9b6f67d0496eb6d710f85801 Mon Sep 17 00:00:00 2001 From: lado Date: Fri, 11 Nov 2011 14:53:49 +0100 Subject: SvdrpProgressDialog in base class --- .../src/de/bjusystems/vdrmanager/gui/ChannelListActivity.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'vdrmanager/src/de/bjusystems') diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/ChannelListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/ChannelListActivity.java index bf21408..cca49ba 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/ChannelListActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/ChannelListActivity.java @@ -102,13 +102,7 @@ public class ChannelListActivity extends final SvdrpAsyncTask> task = new SvdrpAsyncTask>( channelClient); - // create progress - progress = new SvdrpProgressDialog(this, channelClient); - - // attach listener task.addListener(this); - task.addListener(progress); - // start task task.run(); } @@ -369,4 +363,9 @@ public class ChannelListActivity extends return ChannelClient.getChannels().isEmpty() == false; } + @Override + protected SvdrpClient getClient() { + return channelClient; + } + } \ No newline at end of file -- cgit v1.2.3