From 13cbca33682b3281000cdc8530c7996e650f8cf9 Mon Sep 17 00:00:00 2001 From: Andy2 Date: Sat, 6 Aug 2011 14:03:50 -0700 Subject: [PATCH] cleanup --- .../eehouse/android/xw4/DictsActivity.java | 23 ++----------------- 1 file changed, 2 insertions(+), 21 deletions(-) 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 594e3bd91..ebad73c15 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DictsActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DictsActivity.java @@ -179,32 +179,13 @@ public class DictsActivity extends ExpandableListActivity } public boolean hasStableIds() { return false; } - public boolean isChildSelectable( int groupPosition, int childPosition ) { return true; } + public boolean isChildSelectable( int groupPosition, + int childPosition ) { return true; } public boolean isEmpty() { return false; } public void onGroupCollapsed(int groupPosition){} public void onGroupExpanded(int groupPosition){} public void registerDataSetObserver( DataSetObserver obs ){} public void unregisterDataSetObserver( DataSetObserver obs ){} - - // public Object getItem( int position) { return m_dicts[position]; } - // public View getView( final int position, View convertView, - // ViewGroup parent ) { - // LayoutInflater factory = LayoutInflater.from( DictsActivity.this ); - // final XWListItem view - // = (XWListItem)factory.inflate( R.layout.list_item, null ); - // view.setPosition( position ); - - // // append language name - // view.setText( DictLangCache. - // annotatedDictName( DictsActivity.this, - // m_dicts[position] ) ); - // if ( !GameUtils.dictIsBuiltin( DictsActivity.this, - // m_dicts[position] ) ) { - // view.setDeleteCallback( DictsActivity.this ); - // } - - // return view; - // } } @Override