https://kotlinlang.org logo
#android
Title
# android
l

lawlorslaw

09/07/2018, 6:19 AM
I have added the plugin
apply plugin: 'kotlin-android-extensions'
, but
bundleOf()
doesn’t resolve itself. Is there something else to set up?
kotlin-android-extensions provides 2 things: 1. Synthetic properties for views (to avoid findViewById 2. Experimental Parcelize API (annotate data class with @Parcelize to get parcelable implementation)
l

lawlorslaw

09/07/2018, 6:27 AM
Screen Shot 2018-09-06 at 11.27.09 PM.png
is it not recommended to use android ktx anymore
g

gildor

09/07/2018, 6:31 AM
it’s incorrect, development just moved to Google’s repo. Android KTX libraries official complimentary kotlin libraries for libs from Android team
I just sent a link on source of bundleOf