From 993e66da9952888805fd8919491d74e3688e7ed1 Mon Sep 17 00:00:00 2001 From: Andy2 Date: Thu, 16 Dec 2010 06:37:05 -0800 Subject: [PATCH] add newbie info on launch of dicts activity (and override method so don't have to pass null) --- .../XWords4/src/org/eehouse/android/xw4/DictsActivity.java | 3 +++ .../XWords4/src/org/eehouse/android/xw4/XWListActivity.java | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DictsActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DictsActivity.java index 0deb6c5ec..9662a8514 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DictsActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DictsActivity.java @@ -86,6 +86,9 @@ public class DictsActivity extends XWListActivity download.setOnClickListener( this ); mkListAdapter(); + + showNotAgainDlg( R.string.not_again_dicts, + R.string.key_notagain_dicts ); } @Override diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWListActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWListActivity.java index 30dd0bb87..2922d5b15 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWListActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWListActivity.java @@ -81,6 +81,11 @@ public class XWListActivity extends ListActivity { m_delegate.showNotAgainDlgThen( msgID, prefsKey, proc ); } + protected void showNotAgainDlg( int msgID, int prefsKey ) + { + m_delegate.showNotAgainDlgThen( msgID, prefsKey, null ); + } + protected void showOKOnlyDialog( int msgID ) { m_delegate.showOKOnlyDialog( msgID );