From 0be59d1ba7555a985c878af56e7437f9e8ddc00c Mon Sep 17 00:00:00 2001 From: Andy2 Date: Fri, 25 Feb 2011 06:53:36 -0800 Subject: [PATCH] add showConfirmThen (which XWListActivity already has) --- .../XWords4/src/org/eehouse/android/xw4/XWActivity.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWActivity.java index 252250f26..d374994fc 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWActivity.java @@ -99,4 +99,10 @@ public class XWActivity extends Activity { { m_delegate.showOKOnlyDialog( msgID ); } + + protected void showConfirmThen( int msgID, + DialogInterface.OnClickListener action ) + { + m_delegate.showConfirmThen( getString(msgID), action ); + } }