diff options
author | lado <herrlado@gmail.com> | 2011-10-20 14:43:45 +0200 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2011-10-20 14:43:45 +0200 |
commit | 8bd0d127edac4b6e3bec63e22738f631a574bf56 (patch) | |
tree | a2e8b282a89580e0cab76cb65febdf5b68058e88 /vdrmanager/src/de/bjusystems | |
parent | 1a5c307940d0e94be9503192cba5bc69d7f2c06e (diff) | |
download | vdr-manager-8bd0d127edac4b6e3bec63e22738f631a574bf56.tar.gz vdr-manager-8bd0d127edac4b6e3bec63e22738f631a574bf56.tar.bz2 |
share function
Diffstat (limited to 'vdrmanager/src/de/bjusystems')
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEventListActivity.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEventListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEventListActivity.java index 09ee612..f240aa3 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEventListActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/BaseEventListActivity.java @@ -41,6 +41,9 @@ public abstract class BaseEventListActivity<T extends Event> extends BaseActivity implements OnItemClickListener,SvdrpAsyncListener<T>, SimpleGestureListener { + public static final int MENU_GROUP_SHARE = 90; + + public static final int MENU_SHARE = 90; private SimpleGestureFilter detector; protected EpgClient epgClient; @@ -120,6 +123,9 @@ public abstract class BaseEventListActivity<T extends Event> extends Utils.stream(this, event); break; } + case MENU_REFRESH: + Utils.shareEvent(this, event); + break; } return true; @@ -171,6 +177,7 @@ public abstract class BaseEventListActivity<T extends Event> extends menu.findItem(R.id.epg_item_menu_live_tv).setVisible(true); } + menu.add(MENU_GROUP_SHARE, MENU_SHARE, 0, R.string.share); //} } |