Questions tagged [android-jetpack]
Android Jetpack is a Google's set of libraries, tools and architectural guidance to build Android apps and provides common infrastructure code.
android-jetpack
3,084
questions
3
votes
0
answers
53
views
Lazy Column with Scrollable Gradient background in Jetpack Compose
I'm working on a Jetpack Compose app having a Scaffold layout. My layout includes a title, a tab bar, and a LazyColumn. I want to create a gradient background that scrolls with the LazyColumn content ...
0
votes
0
answers
20
views
Is there a way we can use same navController in two different navHost in android jetpack for type safe navigation
I am using a bottom navigation in android jetpack
@Composable
fun BottomNavigationBar() {
val navController = rememberNavController()
var navigationSelectedItem by remember { mutableStateOf(...
1
vote
1
answer
41
views
First draggable item is not on top of other items in a Row while it's dragged on Jetpack Compose
I have a collection of five items, all of which are draggable. I want to achieve behavior in which the dragged item will overlap all the others. I tried changing the zIndex parameter but it didn't ...
1
vote
0
answers
32
views
How to keep the button over the other elements even if it is disabled in Jetpack Compose?
I have a screen where I display a list of items:
Scaffold(
content = {
//List of items
},
floatingActionButton = {
Button(
onClick = {
if (...
0
votes
1
answer
79
views
Kotlin Multiplatform + Jetpack Navigation + Android Studio Koala 2024.1.1 Patch 1 issues
I've started moving one of my older project (Java) to the KMP setup, my goal was to just move around the structure to KMP and slowly import Kotlin code from the shared folder into the androidApp.
I ...
0
votes
0
answers
15
views
Which resource qualifiers should I use for devices having similar screen sizes but showing views in different sizes?
I am working with views in xml in Android development, and I noticed that some devices with similar screen sizes (both in terms of DPI and pixels) show the UI of the app differently. For example, a ...
0
votes
1
answer
103
views
Composable recomposing even with strong-skipping mode enabled
I have tested this using Kotlin 2.0.0, 2.0.10-RC and 1.9.20 just to be sure thisn't some weird Kotlin compiler issue. However, I am currently struggling to understand how lambdas affect the ability to ...
1
vote
2
answers
45
views
Any solution to apply rounded corners in Jetpack Glance
Is there any solution to apply rounded corners in Rows or Columns in Jetpack Glance
cornerRadius works only in android S+, so any workaround ?
@Composable
fun ParkingSessionsWidget(sessions: List<...
1
vote
1
answer
66
views
Jetpack compose navigation: why I have wrong hierarchy of a destination?
Problem:
I have an issue with the hierarchy of my Compose Navigation. The version of compose-navigation I am using is: androidx.navigation:navigation-compose:2.7.7.
Background:
I am trying to ...
1
vote
0
answers
38
views
Preserve the scroll position and paging data when switching tabs in Jetpack Compose
I have two tabs: Video and Magazine.
The screens for both tabs are identical, utilizing Jetpack Compose for the UI.
Data is fetched using the Paging 3 library from a common API endpoint, ...
0
votes
0
answers
42
views
Compose Lazy Column is very Laggy while scrolling
In my compose Application I have a simple list with LazyColumn but I'm facing a lag when I scrolling specially at first
In my list I have a image loading and had some conditions but I remove those ...
0
votes
1
answer
22
views
cannot find symbol class ActivityMainBindingImpl
I am currently learning about Data binding and I did exactly as the tutorial but I keep getting the error "error: cannot find symbol class ActivityMainBindingImpl" when I run the app no ...
0
votes
0
answers
12
views
ScrollableTabRow maxValue incorrect cannot scroll to the tab I need
I don't think this problem has a solution but if anyone else is experiencing this please let me know what I can do!
Here is the relevant code. The maxValue of the scrollState is 1125; which I assume ...
0
votes
0
answers
34
views
How to draw a 3D mask on the face in android media pipe
[![ After I get 468 points ( x, y ,z) from how can I draw a mask (use .obj file)on my face, please give me some tutorial make a mask in face by android java or kotlin.you have example please share ...
0
votes
0
answers
24
views
Generating jar file and deploying it to Jenkins Android
been trying to generate Jar file of my existing Jetpack Compose project.
I want to:
Build jar file
Upload that build to Jenkins Server.
I want to know, what is the correct way of doing it.
I have ...