Android & Kotlin Examples code
Android kotlin tutorials and examples code for android apps developers.
Parallel api call threading using CoroutineWorker in kotlin android
›
A CoroutineWorker in Android is a part of the Android WorkManager library that allows you to perform backgr...
Migrate Android gradle from Groovy Scripts to KTS (Kotlin script)
›
This section will guide your step-by-step to convert or migrate your Android project's Gradle build script from Groovy script to ...
How can I uncheck or reset the radio button in android/kotlin ?
›
I recently had the need to have a radio group where the selected item could be deselected by tapping it again. So, here I can be able to des...
Android Kotlin Room database, build error “A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution” on Android Studio Preview Apple M1
›
Component used: Room Version used: 2.3.0 Devices/Android versions reproduced on: MacBook Pro M1 chip Build failed on Apple M1 with Room data...
1 comment:
Parcelize annotations from package 'kotlinx.android.parcel' are deprecated. Change package to 'kotlinx.parcelize'
›
Parcelize annotations from package 'kotlinx.android.parcel' are deprecated. Change package to 'kotlinx.parcelize' I was usin...
java.lang.IllegalArgumentException: Receiver not registered : Android BroadcastReceiver
›
--------- beginning of crash 2021-06-29 14:58:18.780 16932-16932/com.example.myapplication2 E/AndroidRuntime: FATAL EXCEPTION: main ...
java.lang.IllegalStateException at android.media.MediaPlayer : Android MediaPlayer Error
›
--------- beginning of crash 2021-06-29 12:40:18.925 2968-2968/com.example.myapplication2 E/AndroidRuntime: FATAL EXCEPTION: main P...
Google Keep stopping - com.google.android.apps.gsa.tasks.m: EXCLUSIVE background task UPDATE_HOTWORD_MODELS crashed.
›
com.google.android.apps.gsa.tasks.m: EXCLUSIVE background task UPDATE_HOTWORD_MODELS crashed. at com.google.android.apps.gsa.tasks.n.ga(S...
java.lang.ClassCastException: java.util.Collections$SingletonList cannot be cast to java.util.ArrayList
›
Issue detail: I am parsing the List using gson in kotlin with below syntax: val methods: ArrayList<DataPOJO> = Gson().fromJson(dat...
custom spinner adapter android kotlin
›
Spinner Custom Item Layout <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.Constra...
android spinner example kotlin
›
android spinner example - string array xml res/values/strings.xml <resources> <string name="app_name">Kotlin...
How to use Kotlin Coroutines with volley
›
How to use API connection with Kotlin Coroutines + Volley When start developing API with Volley in Kotlin, you want to use Kotlin Coroutin...
›
Home
View web version