I have a column which consists of multiple composables of one Text (For row title) and one lazyrow (For row items), for TV screens
For reference :
Column {
AlignedRow(data)
}
fun AlignedRow(data) {
if (data != null)
Column {
Text()
LazyRow {
items(data.rowList) {
//add items
}
}
}
While scrolling the parent column downwards, everything is as expected; but while scrolling back up, the top most AlignedRow only focusses on one of the child items at the top of the screen and thus the title text is left out of the screen?
How can I make this scroll work in a way so that when we scroll up both the lazyrow and the title text is rendered onto the screen? Any help would be appreciated!