I update my app with Admob Android SDK 20.x. In the previous versions of the SDK, it was possible to do something like this (in order to avoid to repeat the cod
I have an activity that shows model comes from Firebase in a recyclerView. Each row has a delete button and user can delete which row he/she wants. The problem
I am a newcomer to Android development and Kotlin. I encounter a problem when I read a Android programming book. The book uses startActivityForResult() and onAc
The gradle process fails when I tried to build or sync my Forge mod written in Kotlin with IntelliJ The way to find any output is from the logs: [ 34623] WAR
I have a smart contract deployed. Whenever I try to perform a transaction, the transaction starts, but that's it. The transaction never actually takes place (or
I have the given array val things = arrayOf<Any>("Jack", 8, 2, 6, "King", 5, 3, "Queen", "Jack"); Below is the code I have used things.set(things.indexO
I am trying to do a 3 way JOIN in my query for my Android Room Database. My tables relationships are: Table1 has a 1 to 1 relationship with Table2 Table2 has a
I m getting data from two End points using flows and assigning those two list to temporary list in ViewModel. For this purpose, I'm using combine function and r
i am inserting and deleting a row in room database using following methods of ViewModel class fun insert(rules: TableRules) = viewModelScope.launch { reposi
No matter what I do the pictures are not showing up. Even if I set the items to match parent, I still have the same problem, I've been dealing with it since the
data class Type1(val str: String) data class Type2(val str: String) interface Person data class Child1(val name: Type1) : Person data class Child2(val name: T
I am trying to encrypt and decrypt the image by AES in Kotlin Key Generation Function- override suspend fun key_genration(callback: Enc) { val keygenerator
I have a calculator app and I want it to show large numbers with spaces between them when users enter their input. Currently, they don't have spaces between the
I'm developing a wear os app that needs to send a list of "MyObject" to mobile, data class MyObject( val id: String, val name: String, val locations
I've been looking at a few methods of zooming in on images and I've found some similiar versions of this Zoom in GeeksForGeeks. Now my question is whether the z
How can I filter the list to the selected date of the calendarView My error in in line *emit(it) private fun getFilmsDbFlow(resultDb: ResultDb): Flow<Results
I want to create a global function and I want to switch between activities with this function. Extensions.kt fun goActivity(context: Context, goClass: Class
Can't get my head on how date formatting using @DateTimeFormat works. I send query with date params being: dateCreateFrom - 01.04.2022T00%3A00%3A00 dateCreateTo
Could you help me with the following code, I can't get it to paint the correct option green, or show the animation, of the CorrectResponse function. If I delete
I want to transform my image to grayscale but when i traid to use TransformToGrayscaleOp class i got this error in the ide: Unresolved reference: TransformToGra