Skip to content

Commit

Permalink
Merge pull request getodk#229 from lognaturel/fix-classcast-exception
Browse files Browse the repository at this point in the history
Fix ClassCastException, closes getodk#228.
  • Loading branch information
yanokwa authored Nov 8, 2016
2 parents d3956cc + 42c59f1 commit eca8c25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public void cancelLongPress() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
if (isChecked) {
mAnswer = mAnswers.get((String) buttonView.getText());
mAnswer = mAnswers.get(buttonView.getText().toString());
}
}

Expand Down

0 comments on commit eca8c25

Please sign in to comment.