aboutsummaryrefslogtreecommitdiffstats
path: root/com_actionbarsherlock/src/com/actionbarsherlock/ActionBarSherlock.java
diff options
context:
space:
mode:
Diffstat (limited to 'com_actionbarsherlock/src/com/actionbarsherlock/ActionBarSherlock.java')
-rw-r--r--com_actionbarsherlock/src/com/actionbarsherlock/ActionBarSherlock.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/com_actionbarsherlock/src/com/actionbarsherlock/ActionBarSherlock.java b/com_actionbarsherlock/src/com/actionbarsherlock/ActionBarSherlock.java
index a7cc25d3e..8340fb591 100644
--- a/com_actionbarsherlock/src/com/actionbarsherlock/ActionBarSherlock.java
+++ b/com_actionbarsherlock/src/com/actionbarsherlock/ActionBarSherlock.java
@@ -523,6 +523,20 @@ public abstract class ActionBarSherlock {
*/
public void dispatchPanelClosed(int featureId, android.view.Menu menu) {}
+ /**
+ * Notify the action bar that the activity has been destroyed. This method
+ * should be called before the superclass implementation.
+ *
+ * <blockquote><p>
+ * @Override
+ * public void onDestroy() {
+ * mSherlock.dispatchDestroy();
+ * super.onDestroy();
+ * }
+ * </p></blockquote>
+ */
+ public void dispatchDestroy() {}
+
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////