I'm new to Android development and Java. My previous experience has been with Visual Basic only. I say that for you to be gentle if I have done something incredibly stupid.
The line the reads:
Public void onClick(DialogInterface dialog, int which, boolean isChecked) {
It will not allow the program to run. The error listed is as follows;
Multiple markers at this line
- implements android.content.DialogInterface.OnMultiChoiceClick Listener.onClick
- The method onClick(DialogInterface, int, boolean) of type new DialogInterface.OnMultiChoiceClickListener(){} must override a superclass
method
More information: I am running on a MacBook Pro on the Apple side
not the Windows (running in a Virtual machine VMware Fusion). I have imported the code from your website. I have found one other place where the code imported does not match the book. Your imported code shows this:
public void onClick(View v) {
showDialog(1);
The book has : showDialog(0).