mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
rename StudyList -> StudyListActivity
This commit is contained in:
parent
8084e63d09
commit
dae0c7208f
4 changed files with 9 additions and 8 deletions
|
@ -120,7 +120,7 @@
|
|||
android:configChanges="keyboardHidden"
|
||||
/>
|
||||
|
||||
<activity android:name="StudyList"
|
||||
<activity android:name="StudyListActivity"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize"
|
||||
/>
|
||||
|
||||
|
|
|
@ -841,7 +841,7 @@ public class BoardActivity extends XWActivity
|
|||
cmd = JNICmd.CMD_TOGGLE_TRAY;
|
||||
break;
|
||||
case R.id.games_menu_study:
|
||||
StudyList.launchOrAlert( this, m_gi.dictLang, this );
|
||||
StudyListActivity.launchOrAlert( this, m_gi.dictLang, this );
|
||||
break;
|
||||
case R.id.board_menu_game_netstats:
|
||||
m_jniThread.handle( JNICmd.CMD_NETSTATS, R.string.netstats_title );
|
||||
|
|
|
@ -769,7 +769,7 @@ public class GamesListDelegate extends DelegateBase
|
|||
break;
|
||||
|
||||
case R.id.games_menu_study:
|
||||
StudyList.launchOrAlert( m_activity, StudyList.NO_LANG, this );
|
||||
StudyListActivity.launchOrAlert( m_activity, StudyListActivity.NO_LANG, this );
|
||||
break;
|
||||
|
||||
case R.id.games_menu_about:
|
||||
|
|
|
@ -44,7 +44,7 @@ import junit.framework.Assert;
|
|||
import org.eehouse.android.xw4.DlgDelegate.Action;
|
||||
import org.eehouse.android.xw4.jni.GameSummary;
|
||||
|
||||
public class StudyList extends XWListActivity
|
||||
public class StudyListActivity extends XWListActivity
|
||||
implements OnItemSelectedListener, SelectableItem,
|
||||
View.OnLongClickListener, View.OnClickListener {
|
||||
|
||||
|
@ -347,7 +347,7 @@ public class StudyList extends XWListActivity
|
|||
String langname = DictLangCache.getLangName( context, lang );
|
||||
msg = context.getString( R.string.study_no_langf, langname );
|
||||
} else {
|
||||
Intent intent = new Intent( context, StudyList.class );
|
||||
Intent intent = new Intent( context, StudyListActivity.class );
|
||||
if ( NO_LANG != lang ) {
|
||||
intent.putExtra( START_LANG, lang );
|
||||
}
|
||||
|
@ -368,12 +368,13 @@ public class StudyList extends XWListActivity
|
|||
|
||||
public View getView( int position, View convertView, ViewGroup parent ){
|
||||
XWListItem item =
|
||||
XWListItem.inflate( StudyList.this, StudyList.this );
|
||||
XWListItem.inflate( StudyListActivity.this,
|
||||
StudyListActivity.this );
|
||||
item.setPosition( position );
|
||||
item.setText( m_words[position] );
|
||||
item.setSelected( m_checkeds.contains(position) );
|
||||
item.setOnLongClickListener( StudyList.this );
|
||||
item.setOnClickListener( StudyList.this );
|
||||
item.setOnLongClickListener( StudyListActivity.this );
|
||||
item.setOnClickListener( StudyListActivity.this );
|
||||
return item;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue