Skip to main content

Questions tagged [android-jetpack-compose]

Jetpack Compose is Android’s modern toolkit for building native declarative UI made by Google. If you're targeting desktop with Compose for Desktop, use both this and [compose-desktop] tags.

android-jetpack-compose
0 votes
0 answers
36 views

How to update the counter in LazyColumn items that are out of focus?

I have a LazyColumn list, in which, when I add an element to it, when the “add” button is pressed, the element has a timer that starts counting, everything is fine here, but when there are more ...
Alex's user avatar
  • 3
0 votes
0 answers
29 views

Android Compose Strong Skipping Mode: Unexpected Behaviour

I have an Android Compose screen with a Pager and some content below it. I have created a custom scope that accepts two Composable functions that should fill the content in the pager and below it. I ...
Karolis's user avatar
  • 67
0 votes
1 answer
63 views

Sweep gradient circular progress bar in jetpack compose

I want to create a circular progress bar with a gradient like this using jetpack compose I tried to do it using the Brush.sweepGradient however, it didn't work correctly as the start angle of the ...
Shady Abdulmunim's user avatar
1 vote
1 answer
66 views

How to create a Semicircular Slider using Jetpack Compose canvas?

I am pretty new in Android Studio and need to make a Slider to view data received by an Arduino via Wi-Fi (Temperature and Light). I want to have a SemicircularSlider.kt composable that receives the ...
Joaquin Hazzi's user avatar
0 votes
1 answer
27 views

Why does my animatedWidth variable doesn't change with the function animateTo?

I have an animation it's a green rectangle that grows in length inside a white outlined rectangle. It was working fine before I adjusted the layout. Now the green rectangle simply doesn't grow. If I ...
Deusnominus's user avatar
2 votes
1 answer
155 views

Jetpack Compose PopUp clips content out of bounds after 16.dp

I'm working on building tooltip with caret that can has varying height. However Popup clips anything out of its bounds when the dimensions is bigger than 16.dp in vertical direction. I tried setting ...
Thracian's user avatar
  • 59k
1 vote
2 answers
33 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
0 votes
0 answers
18 views

Jetpack Compose Preview Warning Shown

i currently migrate some Fragments to Compose. When launching the Preview of a Composeable i get this warning screen. compileSdk = 34 defaultConfig { minSdk = 26 targetSdk = 34 Is there any ...
Kitesurfer's user avatar
  • 3,533
0 votes
0 answers
21 views

Android - Room Database enter loop on data update

I’m developing an app using Jetpack Compose, Room, Flow, Kotlin, and following the MVVM architecture. My app includes the following screens: HomeScreen: Displays the budget and a list of products. ...
Jesús Rodríguez Segura's user avatar
0 votes
1 answer
27 views

How to animate the show/hide of the keyboard with jetpack compose?

Example of what i need can be found in very first video in https://developer.android.com/develop/ui/views/layout/sw-keyboard
rost's user avatar
  • 4,007
1 vote
0 answers
17 views

How to avoid Jetpack Compose recomposition?

I have a small composable function with just one parameter: @Composable private fun LeftControlContainers( uiControl: EditorUiControl, ) { val controls = rememberUpdatedState(uiControl) ...
Denis Popkov's user avatar
0 votes
0 answers
20 views

Kotlin Compose Google SignIn with Firebase returns null

I'm trying to create a button in my kotlin compose app that lets users to sign in with a google account. To do so I've realizaed the code below that sends a request to firebase but instead of ...
WiseAppDev's user avatar
2 votes
1 answer
63 views

How to center text views in a custom progress bar in jetpack compose

I'm trying to create a custom progress bar in Compose, where each step is represented by a dot, and beneath each dot, there's a text label. However, I'm having trouble aligning the text labels so that ...
Duddie's user avatar
  • 93
1 vote
2 answers
66 views

Passing nullable to a Jetpack Composable

New Android developer here, I imagine I'm probably missing something fundamental... I have a class instance which is not initialised straight away. I pass this to a composable and want to use it after ...
richc's user avatar
  • 351
0 votes
1 answer
43 views

Jetpack Compose or XML, which is better for creating a large application with very many features, and complex features [closed]

I'm new android developer and i complete all the fundamentals and foundation of the android development with Kotlin, Now i look at build app like Instagram or Facebook or very complex app with complex ...
mahmood alsafar's user avatar

15 30 50 per page
1
3 4
5
6 7
879