We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why is the kotlin code without these extensions https://kotlinlang.org/docs/tutorials/android-plugin.html ? it would reduce your code a bit and make it more readable imo
The text was updated successfully, but these errors were encountered:
Actually kotlin extension was already used.
dependencies { classpath 'com.android.tools.build:gradle:1.3.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version" }
The official page is outdated.
Sorry, something went wrong.
Then the "Find View" section needs to be updated to something like:
Kotlin
With Kotlin Android Extensions enabled (no extra dependencies needed):
val title = view.text1
(maybe mention the old way too, but as a fallback)
close #4
No branches or pull requests
Why is the kotlin code without these extensions https://kotlinlang.org/docs/tutorials/android-plugin.html ? it would reduce your code a bit and make it more readable imo
The text was updated successfully, but these errors were encountered: