https://kotlinlang.org logo
#getting-started
Title
# getting-started
k

Koneko Toujou

02/25/2023, 5:17 AM
What happens if a java method has the same name as a kotlin extension, for example,
apply
k

Kirill Grouchnikov

02/25/2023, 5:23 AM
You'll probably get the extension shadowed by class member warning, and your extension will not be called
k

Koneko Toujou

02/25/2023, 5:27 AM
Hmmm
k

Kirill Grouchnikov

02/27/2023, 3:38 PM
Start with this:
And see why this extension is not “relevant”
3 Views