I'm wondering how to pass runtime parameters to a ViewModel's constructor while using Hilt for DI? Prior to using Hilt, I have a ViewModel that looks like this:
Scenario: I have 2 fragments ProductList and ProductDetail in my nav graph. And when i click on any product it opens the ProductDetail fragment using findNavCon
I just wanted to use Auto image Slider, but after adding all the dependencies and other requirments like jitpack.io still I am unable to use sliderLayout of aut
I'm using boxblur filter to blur specific area of video using cropping library, when i fire command sometimes it works well but sometimes it's showing me error.
An exception has occurred in the compiler (1.8.0_242-release). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.jav
I am trying to update my firebase database based on "aadhar" field but I am failing to do it so. I don't know where it is going wrong. Here is my activity code
Google SupportMapFragment is crashing when executing this ( (SupportMapFragment)getChildFragmentManager().findFragmentById( R.id.map)).getMapAsync
My current android application targets 12 and higher. I do not want to allow backup of any type and currently have these manifest settings android:allowBack
I need to get the contact URI given the Call Log in order to be able to open the native "Contacts" app to show the info of the Contact that made a call, if any.
In my flutter project, I have made some updates of plugins and then used flutter upgrade. After that, whenever I am running my flutter project it is showing fol
What's the difference between Logcat and Run in Android-Studio? Logcat has filter-options. Beside that I don't get which specific purpose each serve. In how far
The problem: I'm currently using Android Studio and Gradle to compile code from a github repository (00-Evan/shattered-pixel-dungeon) and while I can run some t
I updated compose libraries from alpha07 to alpha08 version = "1.0.0-alpha08" androidx.compose.ui:ui:$version androidx.ui:ui-tooling:$version But after that an
Im investigating the use of Hilt in my current Android application. api 'androidx.hilt:hilt-work:1.0.0-alpha02' implementation "com.google.dagger:hilt-android:2
Me and my colleague are having a debate as to where would be the right place to map our entity objects or remote dto objects to plain simple domain objects. Our
I want to add an image into my map marker, I don't know why this code is not working. The marker is not displaying in my current location. Here is the code. @O
val context = ApplicationProvider.getApplicationContext<Application>() val vibratorManager = context?.getSystemService(Context.VIBRATOR_MANAGER_SE
I am creating flutter application using FCM for sending push notifications. I am sending notifications with Cloud Functions from website by sending JSON to devi
I need a help to detect adapter onclick event in activity class with the help of dagger hilt. Step1 : I have created one interface class which name is ItemClick
After some time away from android development I'm trying to start again with a simple project. I've created a new project picking the "basic activity" option wh