Skip to main content
The 2024 Developer Survey results are live! See the results

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 votes
0 answers
50 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 ...
Bhoomi Vaghasiya's user avatar
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(...
Rajiv Agarwal's user avatar
1 vote
1 answer
40 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 ...
Alex Bro's user avatar
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 (...
Always Learner's user avatar
0 votes
1 answer
74 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 ...
Suau's user avatar
  • 4,698
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 ...
Mike's user avatar
  • 165
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 ...
Andre Thiele's user avatar
  • 3,901
1 vote
2 answers
40 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<...
Anis Amh's user avatar
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 ...
sunakulto's user avatar
1 vote
0 answers
36 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, ...
Veeresh Charantimath's user avatar
0 votes
0 answers
41 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 ...
amirhesni's user avatar
  • 459
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 ...
Zaid Hassan's user avatar
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 ...
user1743524's user avatar
0 votes
0 answers
33 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 ...
gowthaman C's user avatar
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 ...
Akash Nair's user avatar

15 30 50 per page
1
2 3 4 5
206