Why in Kotlin I don't need getMenuInflater?
# android
m
Why in Kotlin I don't need getMenuInflater?
j
Referring to a property by name is the same as using a getter in kotlin. See: https://kotlinlang.org/docs/reference/properties.html (I'm new to Kotlin too, so if I've missed something, let me know!)
👍 2
s
menuInflater
does the exact same thing as
getMenuInflater
👍 3
m
@James @Sulav Timsina Thanks for all!