I'm experiencing a NullpointerException with this code: kuglebutton.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { if(toggle.isChecked()) { counter1 = counter1 + 10; column1tv.setText("" + counter1); } else { counter1 = counter1 - 2; column1tv.setText("" + counter1); } } }); Can anyone tell me what i'm doing wrong, and maybe how to fix it?
Cisco Certified Network Associate Exam,640-802 CCNA All Answers ~100/100. Daily update