Suppose we have a CoroutineScope and we launched several coroutines from it via launch. Then we do CoroutineScope.cancel(). And then we need to wait until cance
I'm using MenuItem in my tool bar and some of the items require custom layouts, so I created actionLayout for them. The UI looks fine, but when I long press the
this is in Kotlin, it doesn't seem to work no matter what I try it's just a button with a click listener. Its function is to take me to another activity, I trie
I am trying to build an apk from my flutter application. I am using the algolia native api and modified my FlutterActivity according to this official documentat
i'm try to write test for my viewModel function with coroutines. When request is success -> the data is sent to LiveData. If the request fails -> it is re
I am trying to build an apk from my flutter application. I am using the algolia native api and modified my FlutterActivity according to this official documentat
That's the function I'm using for updat private fun updateSettingsDatabase(settingsDao: SettingsDao) { lifecycleScope.launch { settingsDao.u
I am getting runtime exception while building the project. I have added Jetpack compose dependencies extra to the build.gradle file. I could see the following e
I was developing an app which I use Jetpack compose to define the UI. I was implementing some localdatabase such as Room, and I try to implement the remove oper
Before Ktor 2 it was possible to use withContext(threadLocal.asContextElement(..)) { proceed() } inside an ApplicationFeature to add thread local data to a
I need to implement a drop down menu for Windows App which is based on Compose for Desktop For that I am trying to use ExposedDropdownMenuBox But I am getting e
I query records and return them as Flow<List<RecordEntity>> with Room. I run code A, and get result A as I expected. I hope to display a Loading UI
I'm using Azure Service Bus, and Managed ID to authenticate to it. I'm using Kotlin and Quarkus, in an AKS environment. Now my issue is that when I deploy my co
Getting this error and unable to build Gradle file. Android Studio Version : Bumblebee Latest Patch Gradle Plugin Version : 7.1.2 Gradle Version : 7.2 I already
Hello how can I delay the next line of code after drawing because the sleep() doesn't seem to draw the bitmap with canvas take a look at this code I read somewh
With the following segment of code I'm able to spoof certain build.prop parameters such as brand, manufactuer, device, product and model: data class DeviceEntri
Let's say we have an app that is going to apply clean architecture principles. we have repositories, data sources(local & remote), multiple value objects fo
I have an Android project that i've set up with Detekt. I'm currently using: io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.19.0 (Root build.gradle) io.gitl
I am new to the coroutine concept. I'm not very confident in the code I've written. Basically I have a queue of user events that I send to my server. Adding an
I added the cometchat sdk to my project but each time i try to run my app i get the following errors org.gradle.api.internal.artifacts.ivyservice.DefaultLenient