g4sarma
08/27/2018, 10:48 AMzone
08/27/2018, 2:10 PMtype inference failed not enough information fun<T: Any!> error( exception: Throwable!): Single<T!>!
Seri
08/28/2018, 6:15 PMitemView
to refer to the view while making changesskennedy
08/28/2018, 11:04 PMQracle
08/28/2018, 11:25 PMRamin
08/29/2018, 7:56 AMGilles Braun
08/29/2018, 11:22 AMMap.forEach
in Android. The reported exception is
java.lang.NoClassDefFoundError com.example.packagename.AdManager$executeQueuedCalls$1
I found the solution on stackoverflow already, https://stackoverflow.com/a/51215937/7684435
My code looked like this before the fix: grouped.forEach { type, interactions -> TODO("placeholder") }
, and the kotlin compiler chose the Map.forEach(BiConsumer<? super K, ? super V> action)
, which uses java.util.function.BiConsumer
which isn't available on Android < 8 Oreo.
Occured with kotlin version 1.2.30, also with 1.2.61, using this gradle config: implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
I am not sure if this would be considered a bug or notskennedy
08/29/2018, 5:55 PMJakub
08/30/2018, 10:22 AMAntoineJojo
08/30/2018, 3:43 PMmatt tighe
08/30/2018, 5:11 PMmuralimohan962
09/01/2018, 8:20 AMmingkangpan
09/03/2018, 10:19 AMimplementation "org.jetbrains.kotlinx:kotlix-coroutines-android:0.22.5-eap13"
mingkangpan
09/03/2018, 10:19 AMmingkangpan
09/03/2018, 10:33 AMmingkangpan
09/03/2018, 3:26 PMandreasmattsson
09/04/2018, 12:09 PMUnresolved reference. None of the following candidates is applicable because of receiver type mismatch
Anyone have any troubleshooting advice?vsossella
09/04/2018, 5:33 PMjw
09/05/2018, 4:20 PMHong
09/05/2018, 4:51 PMdata class Person(val name: String, val age: Int, val desc: String = "")
When cloud JSON (via Retrofit and Gson) comes back w/ null value for desc
field, the resultant Person
instance will have null value for desc
field, instead of empty string. So the non-null field desc
can have null value.
I searched online for some solutions but they all seem hacky, anyone has any good suggestion?Hong
09/05/2018, 4:52 PMlawlorslaw
09/06/2018, 1:41 AMCrashlytics.logException(IOException())
Why doesnt this force close the app and why doesnt it show a crash in either console?lawlorslaw
09/06/2018, 4:09 AMSlackbot
09/07/2018, 5:27 AMlawlorslaw
09/07/2018, 6:19 AMapply plugin: 'kotlin-android-extensions'
, but bundleOf()
doesn’t resolve itself. Is there something else to set up?Qracle
09/07/2018, 7:23 AMSlackbot
09/07/2018, 7:33 AMChester
09/07/2018, 2:16 PMkevin.cianfarini
09/09/2018, 2:33 AMViewPager
in combination with `RecyclerView`: did you experience weirdness with the fragment lifecycle displaying your list of items?ubu
09/10/2018, 10:22 AM