Created
March 18, 2021 19:37
-
-
Save pauloaapereira/f5c37fbc86ce4096e58b0f64ecc7bb78 to your computer and use it in GitHub Desktop.
AndroidDevChallenge_Week4_JetWeatherfy_7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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