From 76bbdafadd1a478d9af8a3243ff46e64d1fec0eb Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 23 Oct 2013 07:55:59 -0700 Subject: [PATCH] add varargs option to another showConfirmThen variant --- .../org/eehouse/android/xw4/XWExpandableListActivity.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWExpandableListActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWExpandableListActivity.java index a6e78ee4c..1d2e82728 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWExpandableListActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWExpandableListActivity.java @@ -128,9 +128,10 @@ public class XWExpandableListActivity extends ExpandableListActivity m_delegate.showConfirmThen( msg, posButton, action, params ); } - protected void showConfirmThen( int msg, int posButton, int action ) + protected void showConfirmThen( int msg, int posButton, int action, + Object... params ) { - m_delegate.showConfirmThen( getString(msg), posButton, action ); + m_delegate.showConfirmThen( getString(msg), posButton, action, params ); } // DlgDelegate.DlgClickNotify interface