plugins { id 'com.android.application' id 'kotlin -android' id 'kotlin-android-extensions' } After updating the build.gradle file, it changed a
I'm doing everything according to the document on the developer.android.com, but I can't see the menu. I think the app:menu line is not working. When I enter th
I've run this through the debugger a hundred times and stepped into the setContent over and over. I can't figure out why. No errors given. Works perfectly on A
The picture shows the code and logs For some reason startDate and endDate not recreated
I'm trying to add multiple events to Google Calendar, but I only can launch one event at a time. val intent = Intent(Intent.ACTION_INSERT) .setData(Ca
I have a list val rewardList: List<Reward> class Reward( val nameBefore: String val amountBefore: Long ) I want to have val rewardArra
I have a question Now, for example, in the old days, we had different activities, we had different fragments The code was divided into different files For examp
I am new to Android Studio and Kotlin. I am outputting texts regularly to the display. Think of an old-fashioned ticker-tape newsfeed, where the latest text is
Instead of running Quarkus, I'm running OptaPlanner through a Main class entry point in Kotlin. This works great within Intellij where I have a simple Run Confi
I've managed to get a job parameter context on a Tasklet but I didn't figure out how to change this value so the next Tasklet can access a modified value val pa
I try to learn jetpack compose these days, and I have a simple project in jetpack compose, bottom sheet work in my project, but when I use bottom navigation, it
In Kotlin, indexOf(x) called on a Collection returns the index of the first element that equals(x) (structural equality ==) How can one get the index based on
I am trying to print all the paths from root to leaf in a tree, but having some issues collecting the path items. Consider the following graph: In my case thou
what is the best way to save user logged in state, check if they logged in or not and redirect them to the right screen. I'm not using firebase Auth in this cur
I am trying to get the email (in this case [email protected]) however I don't see any method I can use that gets me the name of the child instead of the v
How to achieve to listing all files (e.g. Media) inside hidden subdirectory i.e. folder name start with '.' e.g. "(.media)" after using SAF in Flutter/Dart? I h
As I have understood, when I exit the player view while watching a video by pressing or not the pause button, the onPause() and onStop() methods come into play
I need to share the image in the imageView and the following code is promising (though not quite what I ) but returns some errors: Kotlin: fun shareImage (i
So, in Android's Navigation, when we want to pass parameters from a FragmentA to a FragmentB, we have two ways to receive this parameter, via Bundle, in Fragmen
When I update the com.google.firebase:firebase-auth-ktx library to a version higher than 21.0.1 I get the following warning: Kotlin library {0} was compiled wi