mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
cleanup
This commit is contained in:
parent
0430cfbd24
commit
609962df58
2 changed files with 7 additions and 21 deletions
|
@ -19,33 +19,18 @@
|
|||
|
||||
package org.eehouse.android.xw4;
|
||||
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ListView;
|
||||
import android.app.Dialog;
|
||||
import android.app.AlertDialog;
|
||||
import android.app.ListActivity;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.text.ClipboardManager;
|
||||
import android.text.TextUtils;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuInflater;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.widget.AdapterView.OnItemSelectedListener;
|
||||
import android.widget.AdapterView;
|
||||
import android.widget.ArrayAdapter;
|
||||
import android.widget.Spinner;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
|
||||
import junit.framework.Assert;
|
||||
|
||||
import org.eehouse.android.xw4.DlgDelegate.Action;
|
||||
import org.eehouse.android.xw4.jni.GameSummary;
|
||||
|
||||
public class StudyListActivity extends XWListActivity {
|
||||
public class StudyListActivity extends ListActivity {
|
||||
|
||||
private StudyListDelegate m_dlgt;
|
||||
|
||||
|
|
|
@ -19,9 +19,8 @@
|
|||
|
||||
package org.eehouse.android.xw4;
|
||||
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ListView;
|
||||
import android.app.AlertDialog;
|
||||
import android.app.ListActivity;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
|
@ -31,9 +30,11 @@ import android.view.Menu;
|
|||
import android.view.MenuInflater;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.AdapterView.OnItemSelectedListener;
|
||||
import android.widget.AdapterView;
|
||||
import android.widget.ArrayAdapter;
|
||||
import android.widget.ListView;
|
||||
import android.widget.Spinner;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashSet;
|
||||
|
@ -52,7 +53,7 @@ public class StudyListDelegate extends DelegateBase
|
|||
|
||||
protected static final String START_LANG = "START_LANG";
|
||||
|
||||
private XWListActivity m_activity;
|
||||
private ListActivity m_activity;
|
||||
private Spinner m_spinner;
|
||||
private View m_pickView; // LinearLayout, actually
|
||||
private int[] m_langCodes;
|
||||
|
@ -63,7 +64,7 @@ public class StudyListDelegate extends DelegateBase
|
|||
private ListView m_list;
|
||||
private CharSequence m_origTitle;
|
||||
|
||||
protected StudyListDelegate( XWListActivity activity, Bundle savedInstanceState )
|
||||
protected StudyListDelegate( ListActivity activity, Bundle savedInstanceState )
|
||||
{
|
||||
super( activity, savedInstanceState );
|
||||
m_activity = activity;
|
||||
|
|
Loading…
Reference in a new issue