diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java index 6fe1e1413..e40ec7bc0 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardView.java @@ -112,7 +112,7 @@ public class BoardView extends View implements DrawCtx, BoardHandler, int descentFor( int ht ) { return (int)(ht * m_descentProportion); } int widthFor( int width ) { return (int)(width / m_widthProportion); } } - FontDims m_fontDims; + private FontDims m_fontDims; private static final int BLACK = 0xFF000000; private static final int WHITE = 0xFFFFFFFF; diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameListAdapter.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameListAdapter.java index 4bec5a021..b6d647130 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameListAdapter.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GameListAdapter.java @@ -41,7 +41,6 @@ import org.eehouse.android.xw4.jni.CurGameInfo.DeviceRole; public class GameListAdapter extends XWListAdapter { private Context m_context; private LayoutInflater m_factory; - private int m_layoutId; private HashMap m_viewsCache; private DateFormat m_df; @@ -57,8 +56,6 @@ public class GameListAdapter extends XWListAdapter { sdk_int = Integer.decode( android.os.Build.VERSION.SDK ); } catch ( Exception ex ) {} - m_layoutId = R.layout.game_list_item; - m_viewsCache = new HashMap(); } @@ -72,7 +69,7 @@ public class GameListAdapter extends XWListAdapter { View layout = m_viewsCache.get( path ); if ( null == layout ) { - layout = m_factory.inflate( m_layoutId, null ); + layout = m_factory.inflate( R.layout.game_list_item, null ); final boolean hideTitle = false;//CommonPrefs.getHideTitleBar( m_context );