diff options
author | lado <herrlado@gmail.com> | 2011-11-11 14:53:49 +0100 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2011-11-11 14:53:49 +0100 |
commit | df7eb7d37718facd9b6f67d0496eb6d710f85801 (patch) | |
tree | 5b472267e07b6b68209555f693f5f07fe5dea992 /vdrmanager/src/de/bjusystems | |
parent | fe0c0ef9baf2bda6b2d6f2decd77cc27d1c40ed6 (diff) | |
download | vdr-manager-df7eb7d37718facd9b6f67d0496eb6d710f85801.tar.gz vdr-manager-df7eb7d37718facd9b6f67d0496eb6d710f85801.tar.bz2 |
SvdrpProgressDialog in base class
Diffstat (limited to 'vdrmanager/src/de/bjusystems')
-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 |