diff options
author | lado <herrlado@gmail.com> | 2011-11-02 21:46:14 +0100 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2011-11-02 21:46:14 +0100 |
commit | 4ca0811ef7ae37ee4dcd6fd6601cb8b44a6e9322 (patch) | |
tree | 81588018cdae68f324d7a0a34795012679edc9e1 /vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseActivity.java | |
parent | 46cb0a5344b9d50d1dcefe946d95d1cedf7df3cc (diff) | |
download | vdr-manager-4ca0811ef7ae37ee4dcd6fd6601cb8b44a6e9322.tar.gz vdr-manager-4ca0811ef7ae37ee4dcd6fd6601cb8b44a6e9322.tar.bz2 |
some doc + refactoring
Diffstat (limited to 'vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseActivity.java')
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseActivity.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseActivity.java index b1569f4..ce27368 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseActivity.java @@ -40,12 +40,20 @@ public abstract class BaseActivity<Result, T extends ListView> extends Activity abstract protected int getMainLayout(); + protected void switchNothinFound() { + if (flipper == null) { + return; + } + //say("can not connect..."); + //flipper.setDisplayedChild(1); + } protected void switchNoConnection() { if (flipper == null) { return; } - flipper.setDisplayedChild(1); + //say("can not connect..."); + //flipper.setDisplayedChild(1); } protected void initFlipper() { |