I didn't know this was possible, but I was following an example and I see this piece of code: import kotlinx.android.synthetic.main.activity_main.* class MainA
I'm trying to use the example app from google codelabs to implement the camerax application, but i dont know, why it doesnt save the pictures correctly. private
In Kotlin, can a property of a data class have multiple types? For example: val CurrentValue: Double?|String or val CurrentValue: String|Array? I cannot find it
I'm attempting to configure a RecyclerView adapter and I have a line of code val decorator = AppCompatResources.getDrawable(context, R.drawable.decorator) This
Recently I've updated my android studio to bumblebee. With this update, many of the libraries I've used in artic fox is not working. some of them is following:-
I am doing a db get operation for my cart page which has multiple tables. I have mapper class which has all the relations with all the tables. I have used corou
I have a task to compare the performance of Java and Kotlin programs. I would like to measure CPU memory and RAM usage. I read somewhere that a good idea for CP
I'm trying to match two lists to another. In one list are items of crypto trades, the other contains so called candlesticks, which represents a price of crypto
1 Build File "C:\Users\Macking Crasher\Desktop\Nasmus\gl/1a.gradle Tanw: 19 Could not compile auslaste "C:users\Macking Crusher\Desktop\nashoploustd.greate'. st
When i click on multiple images of recyclerview then multiple audios start playing without stopping the previous one. It is getting irritating. I hope someone c
I am trying to pass array list data to one of my fragments in the nav bar from main activity. Is there a simple way to implement this? Or should I use activity
My understanding of companion object in Kotlin is that they are analogous to static modifiers in Java. It's bad practice to store static fields in Activities an
I'm trying to get the request's path with unresolved path variables in a WebFilter. I know in SpringBoot Servlet version it is possible to do this by getting re
I've this basic app called Navigation that I was trying to make to understand some concepts where there are 2 activities MainActivity and ActivityB MainActivity
Hey I am working in ktor. I want to throw exception in ktor. I am reading this doc and this example. I want exception, responseCode and errorResponse with error
I have a Room DB setup in my app and it was working well until recently when the app started crashing. It happens that I have a boolean value as a field in the
I have a data https://gist.githubusercontent.com/iva-nova-e-katerina/fc1067e971c71a73a0b525a21b336694/raw/954477261bb5ac2f52cee07a8bc45a2a27de1a8c/data2.json a
I have a vector drawable which has two paths with different attributes referencing to different theme colors. And these attributes' values are being changed by
I am making a reels type app. I have made a ReelsFragment and ReelsAdapter. I have used View Pager 2 to swipe views vertically. I am using Exoplayer to play vid
I have upgrade the Android SDK project 30 to 31. Also i am using the the Android Beacon Library for scanning the the iBeacon. Android 12 i am getting the frquen