Skip to content

Instantly share code, notes, and snippets.

@pauloaapereira
Created March 18, 2021 19:37
Show Gist options
  • Save pauloaapereira/f5c37fbc86ce4096e58b0f64ecc7bb78 to your computer and use it in GitHub Desktop.
Save pauloaapereira/f5c37fbc86ce4096e58b0f64ecc7bb78 to your computer and use it in GitHub Desktop.
AndroidDevChallenge_Week4_JetWeatherfy_7
@Composable
private fun FoldedCells(
isOpened: Boolean,
foldingDuration: Int,
foldCells: List<@Composable () -> Unit>
) {
Column {
foldCells.forEachIndexed { index, cell ->
FoldedCell(
isOpened = isOpened,
cellsQuantity = foldCells.size,
foldingDuration = foldingDuration,
index = index,
content = cell
)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment