i want to run my code in intellij ide (community edition) and when i try to run it, i got this error Cannot determine path to 'tools.jar' library for 18 (C:/Pr
I'd like to make an Android app to list files and their size, a bit like WinDirStat or TreeSize on Windows, or DiskUsage on Android. I tried this to get a list
I have a JSON data looking like this questions: [ { id: "1", question_type: "FREE_TEXT", answer_type: "SINGLE_LINE_TEXT", question_text: "what's your name?", op
I am using Google Fit API to get fitness data for a kotlin app. But API does not work in internal testing on Google Play Developer Console. When connecting the
When I plug in fontSize = dimensionResource(id = R.dimen.textLabelTextSize) where the dimens or 54sp or 60sp depending on the device, I get an error on Text() "
I've a composable called ParentScreen and a ViewModel named ParentViewModel. Inside the ParentViewModel, I am collecting a value from my repo. class MyRepo @Inj
I have a button in fragment A and when I click on fragment A, I want it to be redirected to fragment B. How to achieve this in kotlin? Right now I am using this
I am new to test cases and I am trying to write test cases for the below code but I did not get success after trying several method. My main target is to cover
I have couple of Path elements in my Canvas and would like to do some complex animations with every one of the Path lines. I am not sure how to approach this. L
BottomNavigationBar() can only take the background and contentColor but there is no option for tint color.
I'm using Hilt to inject context and other dependencies into my HomeViewModel class; Everything is working properly but I'm getting this warning. How can I prev
I'm using Hilt to inject context and other dependencies into my HomeViewModel class; Everything is working properly but I'm getting this warning. How can I prev
I am creating a RecyclerView which has an item with dynamic chips. I am looping through an array to set the text of the chip, this works fine but when I scroll
In android documentation we have example of view binding without lateinit: private var _binding: ResultProfileBinding? = null // This property is only valid bet
I would like to put this Profitability calculator from: https://www.nicehash.com/widgets#profcalc Where the site says to use: <iframe src="https://widget.nic
I am using Hilt. After updating to 1.0.0-alpha03 I got warnings that @ViewModelInject is deprecated and I should use @HiltViewModel. But when I change it I got
How can we enable support for the spring security kotlin DSL? As you can see from the Screenshot of the IDE (IntelliJ), the DSL is not available: This is the f
So I've got a custom view with this attribute: private var mLabelText: String = "DEFAULT" var labelText: String set(value) { if (mLa
I have an interface with a default method, and two classes which implement this interface. One of the classes overrides the default method, and the other does n
For example, let's use this class: data class Person ( var id : Long, var name: String, var imageUrl: String ) I need to fill my spinner with name