I'm testing whether distributed lock of redisson does work correctly, with kotlin and coroutine. runBlocking { repeat(1000) { launch {
Say I have a data class data class MyClass(val crop: Rect, val name: String) But I want to make a copy of the Rect passed in since I don't want the value to be
Here is my apollo client code for caching val apolloSqlHelper = ApolloSqlHelper.create(context,"my_app") val sqlNormalizedCacheFactory = SqlNormalized
I was running some flutter project from github but the runnig taking too much time and showing some cryptic things in console like, lib\main.dart:1 √ Bui
repositories { maven { url "https://maven.aliyun.com/repository/gradle-plugin" } gradlePluginPortal() } error: > Could not resolve all files for c
IntelliJ autoformat keeps adding a blank lines between class field declarations having annotations. Do you know how to disable it? This happens for kotlin files
What if I have my native query (with PostgreSQL) in a more "complex" way, which I need to GROUP the data in order to apply an ORDER BY clause? Well, doing so wi
Please could someone assist me create a dslPart object for the below json. I'm stuck at the components array within the content object for type: Component 2. I'
I would like to make my test task incremental, but I noticed that it looks for files in java instead of kotlin: Task ':test' is not up-to-date because: Task.u
After upgrading to android 12, the application is not compiling. It shows "Manifest merger failed with multiple errors, see logs" Error showing in Merged mani
I am building out the login form for a client, and their backend, upon successfully authenticating the user, returns the user validation data in a JSONObject as
I have a reference string on which the allowed characters are listed. Then I also have input strings, from which not allowed characters should be replaced with
I try to connect to Web Socket server by using Socket.IO-client Java First i tried this config: fun createSocket(): Socket { val options = IO.Options()
I'm trying to upload a JPEG to MongoDB using Ktor and Kotlin but keep getting an error: java.io.FileNotFoundException: /document/image:32: open failed: ENOENT (
I'm trying to set a height peek from which the dialog must start, then the user if dragged should be able to expand it, the issue is that in any case the bottom
I received this build error having updated my native android project to Android S (Pre release of android 12). Googling for the error threw up no valuable hits.
I am using Facebook share SDK and I read the docs which says that if the native Facebook app is installed then it will be used as a share dialog otherwise a web
Dear team I am trying to use com.google.android.material.bottomnavigation.BottomNavigationView on my Kotlin application. While running the application, My appli
I also made another class that implements runnable to make a new thread still it's now working, Also tried with Aynctask. At last, I made a view model but still
I'm a newbie at Kotlin. And when I learn about flatten function Returns a single list of all elements from all arrays in the given array. It is description of