Questions tagged [kotlin-android-extensions]

Questions related to Kotlin Android Extensions

Kotlin Android Extensions

721 questions
4
votes
3 answers

Android resource linking failed due to missing boolean resource values using Jetpack Workflow

I am using some of the Jetpack libraries and also using instantstart. I am getting these errors: Android resource linking failed Output: …
4
votes
1 answer

How do I stop optimize imports from removing Kotlin Android Extensions imports?

Running optimize imports on Android Studio 3.1.3 is causing my kotlin android extension imports to be removed even when they're being used. Anyone know how to resolve this issue or exclude kotlinx imports from being removed by optimize imports?
Aidan Laing
  • 1,260
  • 11
  • 23
4
votes
2 answers

Object is not part of the schema for this Realm in Kotlin

I have one open class like this open class NewsResponse( @field:SerializedName("news") val news: List? = null ):RealmObject() And NewsItem class like this open class NewsItem( @field:SerializedName("created") val created: String? =…
theanilpaudel
  • 3,348
  • 8
  • 39
  • 67
4
votes
2 answers

Implementation of onItemClickListener in kotlin

How to implement an onItemClickListener() on a custom listView in kotlin?_ title_list_view.setOnItemClickListener{ adapterView: AdapterView<*>?, view: View?, position: Int, l: Long -> } what to do to start a new activity after clicking an item…
user9483334
  • 237
  • 2
  • 3
  • 7
4
votes
3 answers

How to apply button style on runtime in android kotlin

How to apply runtime button style in android kotlin? My Style (themes.xml):