I am using android studio 3.0.1 and i am developing android application using kotlin. so, i have configured kotlin in my project. After configuring kotlin when i override any methods, i am getting the parameter names as p0, p1, p2, etc as below.
override fun query(p0: Uri?, p1: Array<out String>?, p2: String?, p3: Array<out String>?, p4: String?): Cursor {
...
}
Instead of these names i want appropriate names of parameters like projection, selection, selectionArgs, etc as below.
public Cursor query(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection, @Nullable String[] selectionArgs, @Nullable String sortOrder) {
...
}
when i was using java it was working fine but when i started using kotlin this problem occures. This parameter names are confusing. so, i want to get names like i get in java code. Is there any way to do this?