Reputation: 13
Within MainActivity.java I wrote a setOnClickListener
method. Inside onClick, there is the following code:
@Override
public void onClick(View view) {
DialogShowNote dialog = new DialogShowNote();
dialog.sendNoteSelected();
dialog.show(getFragmentManager(), "123");
}
DialogShowNote
is a class that extends DialogFramgment and is contained in the smae Java package. I get the error
"Cannot resolve symbol "DialogShowNote"
Does anyone have a clue?
Upvotes: 0
Views: 2487
Reputation: 835
Try the following:
Good luck.
Upvotes: 1