I am trying to decode the date-time receiving from my APIs in my required format "yyyy-MM-dd" I receive time in 2 format 1. "2022-05-05T11:32:12.542Z" 2. "2022-
I've just implemented Preferences by Android DataStore but I can't find "context.createDataStore" I added this dependency below implementation "androidx.datas
The text in the app still remains black even if the theme is set to dark and background is dark. Just take a look at the code and screenshots below. Theme.kt (h
I just started to use the Jetpack compose toolkit. I added the @Preview and a set showBackground = true, showSystemUi = true as parameters and it works really g
I am trying do I return the result of the position from my Recyclerview Adapter, but I can't call the " adapter.setOnItemClickListener(this)" from MainAc
I'm new to file storage. My main goal is to take a picture with the camera, store it with good quality, then display it in an ImageView. I want to avoid asking
When I build my ktor project It fails and it tells me about a line which causes the failure. The line is located in the application.conf file: ktor { developme
implementation 'com.google.android.material:material:1.5.0' added this already in Build.Gradle . . Code for implementing Bottom Navigation Bar: <?xml version
Having trouble dealing with slashes in controller mappings in Kotlin Spring. My client application sends an absolute path ("C:/User/Documents/FolderX"), and sho
I have a code it's work fine in debug mode also generated signed APK will work fine if isMinifyEnabled=false but for generated signed APK when isMinifyEnabled=t
I have kotlin + spring boot app. I done some development in my feature branch committed and returned to dev branch, built app and just tried to start it in inte
My project is having issues correctly resolving my KGraphql dependency when I try to install the feature in my ktor project. How do I go about troubleshooting t
I am implementing a stopwatch (0 to .. seconds counter) in my app. I succesfully implemented it in my Dart code, but I need it to work even if the app is closed
How do I include extra information in the connection url? I looked at the code and it seems that anything after the ? will get thrown out. val connection = MySQ
I am trying to build a KMM project everything works fine in Android also in iOS simulator but when I connect an iOS device I get the below error . FAILURE: Buil
I use the Kotlin language to develop Quarkus based application. Regarding to the https://quarkus.io/guides/kotlin it is possible to write constructor injection
Hi I am new to android development and the problem is Whenever I am using MainActivity in logcat as a filter it is not showing me Log statements for this Log.i
I refer to the official Android documentation on using the Flow library in the recommended app architecture. In the UserRepository class: class UserRepository @
I keep having this error log when ever i toggle off a switch in my app. E/ActivityThread: Service info.mqtt.android.service.MqttService has leaked IntentReceiv
I am using okhttp 4.9.0 to make API requests, but seems that can't get the response body as JSONOBJECT. This is my code: client.newCall(request).enqueue(object