What is the difference between var and val in Kotlin? I have gone through this link: KotlinLang: Properties and Fields As stated on this link: The full syntax
Recently i have started learning Kotlin. After having some basic functionality i am stuck with image picker. Does there any specific way to select an image fro
So I'm trying to making a login(post) request to an API (https://reqres.in/api/login) with retrofit 2. The connection was successful as the response code is 200
I am receiving an object that I want to save with timestamp to text file in the phone's documents folder. I have currently added the permissions lines to Androi
I am creating a project that connected to a firebase, but I think the problem not in the firebase...... I found this error when I am trying to run the project:
when i uploaded to google play console, and review finished. apk rejected by showing this error. how to solve this problem, anyone have a solution? FATAL EXCEPT
I had downloaded android studio chipmunk canary 7 and faces this problem : Plugin [id: 'com.android.application', version: '7.2.0-alpha07', apply: false] was n
I am trying to delay code in Kotlin I have tried Thread.sleep(1000) But its freezes the UI. Does somebody know why this is happening And how to delay withou
I was trying to achieve something similar to the below image by manipulating the Material tooltip inside the Material slider. I was able to achieve something s
I would like to compare native with cross-platform technology. I am writing Kotlin Android Native application and is it possible to easily open it in browser li
I have a Room database with a table that holds users. Each user has an ID and a name. My goal is to change the name of the user based on the ID. Here is what I
I'm converting a Java class that extends an abstract class as per the code below public class BadRequestAlertException extends AbstractThrowableProblem {
I am trying to work through a tutorial on android compose. It works well while I use:kotlin-gradle-plugin:1.5.31, but the android studio has updated to :kotlin-
I am updating an old project. This qr code scanner is giving an error.The project had previously run on flutter 2.10. There are errors in Flutter 3.0. import 'p
First time using protobuf, so following googles instructions I placed all my .protos in a protos folder in my android studio project. I know the .proto files ar
I am relatively new to Spring and Kotlin. I ran into this problem and it does not seem that there is a comprehensible (for me) explanation anywhere on the Inter
I'm a Kotlin's student. I'm doing a tutorial layout using RecyclerView horizontal, but I'm having an issue, already tried to find some answer on stack but didn'
I have an application which uses retrofit to fetch logo form an API. When i don't obfuscate and shrink my code, everything works fine. But when i enable it, th
After upgrading from gradle 3.6.3 to 4.0.0, retrofit only able to send request but not able to receive response. From the logging I can only see: I/okhttp.OkHtt
Recently, the class StateFlow was introduced as part of Kotlin coroutines. I'm currently trying it and encountered an issue while trying to unit test my ViewMod