When I let Android Studio generate override method it will generate the method with strange parameter names.
For instance according to documentation onCheckedChanged should look like this:
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked){}
but i got
public void onCheckedChanged(CompoundButton compoundButton, boolean b){}
or onDateSet in DatePickerDialog i got:
onDateSet(DatePicker datePicker, int i, int i1, int i2)
instead of
onDateSet(DatePicker view, int year, int month, int dayOfMonth)
I got Android SDK set up in a project and Sources for Android 27 installed.
Any ideas?
Thanks
from Incorrect variable names in overridden methods
No comments:
Post a Comment