androidx Questions
4
Solved
I'm using the paddingValues provided by the compose scaffold to account for the bottom bar in my app.
I also just implemented the new enableEdgeToEdge() feature provided by androidx.activity:activi...
Trial asked 14/10, 2023 at 10:55
0
I am trying to handle the pause/play button from a Bluetooth headset (e.g. Jabra Elite 7 Pro) by simply logging into Logcat a message whenever it is pressed. The “twist” is that this is during Text...
Odometer asked 17/9, 2024 at 7:51
3
Sometimes, I get this crash while my app is opening:
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.appcompat.widget.ContentFrameLayout.setDecorPad...
3
Solved
I was implementing Android Room Database and in one of the tutorial I found the usage of androidx.legacy:legacy-support-v4:1.0.0 dependency. Can any one tell me use of this dependency.
Franciscofranciska asked 26/12, 2019 at 5:0
4
I've updated an old android application to stop using Fabric and instead use Firebase analytics and crashlytics
I had to update the gradle versions i was using along with upgrading the application ...
Prefiguration asked 12/2, 2021 at 16:5
2
Solved
I get this warning when I try to list data.
Does anyone know why?
Pentavalent asked 23/4, 2020 at 12:37
3
Solved
I have migrated to androidX recently and updated my targetSdkVersion to 29. After that I received the error when try to run androidTests:
Cannot find a version of 'androidx.annotation:annotation' ...
3
NavController has methods navigate which navigate by default with backstack. How to navigate to the fragment without having backstack?
Please note that, I am not asking about FragmentTransaction
Billiton asked 17/12, 2018 at 15:35
5
Solved
I'm trying to handle the back button in a BottomSheetDialogFragment, which is a DialogFragment, using 'androidx.activity:activity-ktx:1.1.0-alpha01' and 'androidx.fragment:fragment-ktx:1.2.0-alpha0...
Choate asked 23/7, 2019 at 8:39
7
Solved
I recently updated my Android Studio (and I'm pretty sure the Gradle version), and now I've been getting a bunch of errors when trying to compile my project. Here's the one that is plaguing me at t...
Xenogamy asked 19/4, 2019 at 4:31
3
Solved
I am trying to follow guide from https://developer.android.com/training/dependency-injection/hilt-jetpack#workmanager and encountered following error
E/WM-WorkerFactory: Could not instantiate com....
Stoss asked 13/6, 2020 at 3:46
4
Solved
I am trying to migrate my project to androidX. The project i am trying to migrate is based on android support libraries AppCompat. In the Developer Documentation it says that you can migrate to And...
Chape asked 11/8, 2018 at 9:57
8
Solved
Is it possible to enable-disable swiping in new android viewpager2 component?
Passe asked 4/3, 2019 at 7:57
5
Solved
According to this documentation from Google about launching an activity to get a result:
While the underlying startActivityForResult() and onActivityResult()
APIs are available on the Activity ...
Everson asked 5/5, 2020 at 20:15
13
Solved
I want to use com.google.android.material.tabs.TabLayout component with Android's new ViewPager implementation androidx.viewpager2.widget.ViewPager2. However, the setupWithViewPager(..) method prov...
Reddick asked 27/3, 2019 at 7:56
16
I am developing a news app but I am getting following errors in from gradle console
(androidx.core:core:1.0.1) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.s...
3
I have a SearchView in one of my layouts and get appended crash on some devices. The problem is that the abc_textfield_search_material resource is not found. But I'm not using this resource directl...
Pumping asked 6/3, 2019 at 7:59
16
After migrating to Androidx packages using Android Studio menu option Refactor -> Refactor to Androidx...
I'm getting the following error:
Error inflating class androidx.constraintlayout.widget.C...
15
Solved
I've followed the Android Developer's tutorial on using the Worker Manager structure to run my code in background but anytime I try to enqueue my worker it doesn't run and I get the following error...
Subsume asked 5/10, 2018 at 1:40
3
Solved
setTargetFragment() is deprecated in Java, and I don't understand the correct replacement for it as android documentation uses it and is outdated. I believe the FragmentManager is the correct repla...
Jersey asked 17/11, 2020 at 4:48
6
Solved
I use the EncryptedSharedPreferences from the androidx.security:security-crypto:1.0.0-alpha02 lib to store some Tokens. If i use prefs.edit().remove("token")).apply() or prefs.edit().remove("token"...
Tracietracing asked 25/7, 2019 at 13:20
6
Solved
I'm using androidx navigation architecture along with Kotlin 1.2.71 in Android studio 3.2.1. My fragment code is:
package com.dell.andnav.fragments
import android.os.Bundle
import android.suppor...
5
I have started getting this warning on Google Play Store for a Unity project.
androidx.fragment:fragment:1.0.0 This SDK version has been reported as outdated. Consider upgrading to a newer version...
Bulwark asked 4/7, 2023 at 8:25
10
Solved
I have a project with 2 modules: an app (Java) with build types debug, release, and enterprise and a Kotlin library (release and debug) used by the app.
I'm using AndroidX and have the following i...
Salome asked 11/8, 2018 at 1:37
13
Solved
When I try to add Safe Args (Android Navigation) to my app's as following
( using this guide : https://developer.android.com/topic/libraries/architecture/navigation/navigation-pass-data ) :
apply...
Contrabandist asked 25/12, 2018 at 9:50
1 Next >
© 2022 - 2025 — McMap. All rights reserved.