mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-31 19:57:06 +01:00
test for null that should never happen but google play says does.
This commit is contained in:
parent
e9ffcdbbc5
commit
b3ebadfde5
1 changed files with 8 additions and 5 deletions
|
@ -288,6 +288,8 @@ public class DictBrowseActivity extends XWListActivity
|
|||
int position, long id )
|
||||
{
|
||||
TextView text = (TextView)view;
|
||||
// null text seems to have generated at least one google play report
|
||||
if ( null != text ) {
|
||||
int newval = Integer.parseInt( text.getText().toString() );
|
||||
if ( parent == m_minSpinner ) {
|
||||
setMinMax( newval, m_browseState.m_maxShown );
|
||||
|
@ -295,6 +297,7 @@ public class DictBrowseActivity extends XWListActivity
|
|||
setMinMax( m_browseState.m_minShown, newval );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void onNothingSelected( AdapterView<?> parent )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue