diff options
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/gui/ChannelListActivity.java | 11 |
1 files changed, 5 insertions, 6 deletions
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<Channel, SvdrpClient<Channel>> task = new SvdrpAsyncTask<Channel, SvdrpClient<Channel>>( channelClient); - // create progress - progress = new SvdrpProgressDialog<Channel>(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<Channel> getClient() { + return channelClient; + } + }
\ No newline at end of file |