Dziękuję :)
Zerknij proszę na ten kod
buttonCheckAnswer.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
if (!allAnswersChecked())
intent.putExtra("KEY_ALL_CHECKED", false);
if(checkAnswers())
intent.putExtra("KEY_ANSWER", true);
else
intent.putExtra("KEY_ANSWER", false);
startActivity(intent);
}
});
Chcę właśnie dodać ten ("KEY_ALL_CHECKED",false)
do tego kodu
textViewDisplayResult.setText(getIntent().getBooleanExtra("KEY_ANSWER", false)?R.string.Good_answer:R.string.Wrong_answer);
Proszę pomóż jak to zrobić