Category "android"

@HiltViewModel annotated class should contain exactly one @Inject annotated constructor

I keep getting this error: public final class MainViewModel extends androidx.lifecycle.ViewModel { ^ @HiltViewModel annotated class should contain exactly one

Flutter doctor --> Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)

I have a question so I think I dowlnloaded everything correctly but I still get this massage when I type in "flutter dictir" in cmd. When I run "path/to/sdkmana

Passing uri between compose screens causes: SecurityException: Permission Denial

I receive a uri in screen "A" by: val launcher = rememberLauncherForActivityResult(ActivityResultContracts.StartActivityForResult()) { activityResult ->

MotionLayout prevents ClickListener on all Views

I am using a MotionLayout with a scene-xml: <Transition motion:constraintSetStart="@+id/start" motion:constraintSetEnd="@+id/end" > <O

Unsuccessful Download using DownloadManager in Android 9

I have an xls file in my server which needs to be downloaded in my phone using an apps. I'm using Nokia 5 and Android 9 for testing. My compile sdk version is 2

Attempt to read from field 'android.view.View androidx.recyclerview.widget.RecyclerView$ViewHolder.itemView' on a null object reference

I am making an app that gets data from sql and puts it in a recycle view i first tried it in a list view but i found it easier in a recycle view it is basically

Get current location to find the nearest places

I want to when I log in to the app I will get current location user then I will pass it to main activity. private LocationRequest locationRequest; private Fireb

How can I check if treeUri is empty?

I want to check if a treeUri has any files in it or if its empty, so I can delete the Folder. Ive tried listFiles but comes up with Landrodix.etc. and not the a

When setTimeRange is large and bucketByTime is short in DataReadRequest of Google fit history Api, getting error "gms.common.api.ApiException: 5022"

I am trying to read all data from the Google fitness store, but when the "setTimeRange" is large ie: i am trying to get all data and the "bucketByTime" is in sm

Firebase authentication - refreshToken automatic refresh

I am developing a react-native application which will use firebase authentication, and I have some doubts about how refresh tokens should work. I am using the r

How to start the same action multiple times from the same startingDestination using navigation graph?

I started recently using the navigation graph and i have a problem that i havent solved yet. I want to open the same fragment multiple times that they are stack

Backend Internal error: Exception during psi2ir in Jetpack compose

I am getting this error during compilation or code generation, I have set the Jetpack Compose dependencies and working on it, I have made some compose component

Set MaterialAlertDialog horizontal margins

I wrote a custom theme for all my (Material)AlertDialogs and applied it to APP's theme. <style name="MyTheme" parent="Theme.AppCompat.NoActionBar"> &l

Android dark mode follow system returns wrong mode unless killing the app

I'm implementing dynamic dark mode change in the app I'm working on and It's working great for MODE_NIGHT_YES and for MODE_NIGHT_NO but when I'm setting this on

Could not connect to remote process. Aborting debug session. Attach Debugger OK button is grayed out

When I try to debug the app, the emulator sticks on "Waiting for debugger". Meanwhile, in the debug tab, it can be seen that AS is "waiting for application to c

React Native: How to get upload speed and network signal strength?

I am currently tasked with developing an application that gives the user various information and details about his network connection using React Native. The ma

Firebase Android App - not updating realtime database

I experience some errors while trying to push data into my firebase realtime database. I checked a couple of tutorials and according to all of them i am doing n

Recyclerview getting refreshed after come back from another screen - Android navigation

I am having a product listing page. The recyclerview is filled with data from the Firebase firestore. When I click on any product, it will go to the details pag

Dealing with API endpoints in flutter

I have started learning to code since a few days back, and am only familiar with HTML/CSS/JS, and basics of dart/flutter I am working on a Random quotes generat

Navigation Error: action/destination cannot be found from the current destination

I am using Navigation component to navigate between two Fragments. The landing fragment has a recycler view and the detail fragment has a view pager. I am using