I have the webpage created with angular js file. There are pdf files inside the webpage we want to download and show. when clicking the pdf file, it just show l
I wrote a simple espresso test in which I launch a fragment with the following code: package com.example.fragmentedittexttest2 import android.util.Log import a
I'm trying to use the new Android 12 Splash Screen API but my app keeps crashing when opening the first activity. I have MainActivity as my launcher activity wi
I have an app that rotates other apps. It uses an accessibility service so I have the ability to retrieve screen content. Say I'm rotating a game called Geometr
I'm trying to follow the official guidelines to migrate from LiveData to Flow/StateFlow with Compose, as per these articles: A safer way to collect flows from A
i have got emoji view in logcat of android studio. but not getting that emoji view in app. i have set emoji textview in layout but its not visible in listview.
Kotlin code runBlocking { flow { for (i in 0..4) { println("Emit $i") emit(i) }} .onEach { if (it%2 == 0) delay(20
I'm trying to create a single activity app using android architecture components. I have a fragment A which has some textfields, when user pushes a button I nav
I am making a register screen, that has a toolbar on top of it. When I scroll down the toolbar hides(goes up). I don't want my toolbar to scroll when I am scrol
I have a class which I want to use, to filter my array according to driver. Driver is hardcoded just to try and eliminate possibilities of why the code is not w
When browsing through Kotlin source code, I found that in some places NotImplementedError is thrown: public suspend inline val coroutineContext: CoroutineContex
I am working on Firebase authentication wherein I need to put the firebase auth on my Repository. I found this article on how to do it but it uses RxJava. (http
I am creating an EditText box with line numbers on the side. To achieve this, I have code in the onTextChanged method of the addTextChangedListener that updates
Trying to deserialize a pretty complex json string, I've done simpler ones but am struggling with how to set this up. I've also found some examples on simple po
I am facing an issue when I am Using Gradle to output my Android APP in Android Studio, I am getting such error, the error was there in sync, then I tried to sy
In Jetpack Compose for android you can do this: val fontFamily = FontFamily( Font( resId = R.font.my_font_400_regular, weight = FontWeight.
I've got two checkboxes and I need to uncheck the other checkbox if the first checkbox was clicked. Right now if a user clicks on the second checkbox and then o
I am currently trying to leverage kotlin coroutines more. But I face a problem: when using moshi or okhttp inside these coroutines I get a warning: "inappropri
I am trying to switch from RxJava to Kotlin Flow. Flow is really impressive. But Is there any operator similar to RxJava's "GroupBy" in kotlin Flow right now?
how would I go about taking this one function and turning it into multiple functions? I need to create a local double variable called change and set it to a tes