Questions tagged [jetpack-compose-column]
5 questions
2
votes
1 answer
Reuse of column with duplicate code in jetpack compose
I have composable function in there’s some code is duplicate in if - else condition. Both if - else have same type of UI but different component. Inside if - else UI logic is similar to this answer. I want same UI logic in here.
Xyz
@Composable
fun…

Kotlin Learner
- 3,995
- 6
- 47
- 127
2
votes
0 answers
How to create a Card with a lazy vertical list of items that can be nested within a scrollable Column using Compose?
I'd like to have a Compose UI that is something like this (overly-simplified version)...
Each carded list below each group is variable length depending on the list of items fed to the composable. Here's two options for how to approach this (using…

JHowzer
- 3,684
- 4
- 30
- 36
2
votes
1 answer
LazyColumn inside Column with verticalScroll modifier throws exception
In one of my composables, a Lazycolumn is nested inside a Column composable. I want to be able to scroll the entire Column along with the Lazycolumn. But, specifying the verticalScroll modifier property on Column results in the following exception…

Raj Narayanan
- 2,443
- 4
- 24
- 43
1
vote
1 answer
How to center elements in Column with vertical scroll?
I have Column with a verticalScroll(rememberScrollState()). The problem is that under certain conditions I need to center certain elements. But I can't do it, as far as I understand it happens due to the fact that the column has an infinite…

testivanivan
- 967
- 13
- 36
1
vote
2 answers
Jetpack Compose Text and Image get overlapped inside Column layout issue
I am using Jetpack Compose for designing dynamic Layout inside android app. Column layout is used to place elements like Vertical layout. This kind of behaviour is achieved using LinearLayout orientation Vertical usage without compose. Inside Column…

Satyam Gondhale
- 1,415
- 1
- 16
- 43