In Java, I have a class that implements an interface:
AlertDialog implements DialogInterface
If some variables are declared inside the interface, I can access them:
AlertDialog.BUTTON_POSITIVE
But in Scala, the specified string does not compile. It appears to be hidden. Is there a way to access these variables in Scala without creating a new object or doing something else hacked?
Georgios Pligoropoulos
source share