grandstaish09/23/2020, 8:59 PM
pardom09/23/2020, 9:01 PM
composable between each child.
grandstaish09/23/2020, 9:05 PM
. Then I want my custom composable to be able to add dividers in between each child. Maybe I need a custom Layout for this though
pardom09/23/2020, 9:06 PM
grandstaish09/23/2020, 9:07 PM
pardom09/23/2020, 9:08 PM
Zach Klippenstein (he/him) [MOD]09/23/2020, 9:11 PM
modifier to draw over/under the children in those spaces. If all your items are the same size, you can use the
arrangement with Column and just calculate where the dividers go without doing a custom layout.
grandstaish09/23/2020, 9:19 PM
Zach Klippenstein (he/him) [MOD]09/23/2020, 9:47 PM
grandstaish09/23/2020, 9:52 PM
Zach Klippenstein (he/him) [MOD]09/23/2020, 9:55 PM
grandstaish09/23/2020, 10:26 PM
Zach Klippenstein (he/him) [MOD]09/23/2020, 10:44 PM
Louis Pullen-Freilich [G]09/23/2020, 10:47 PM
is designed exactly for these sort of use cases - you can avoid the 1f lag this way by measuring the content first, and then composing the dividers afterwards.
grandstaish09/23/2020, 10:49 PM
tomorrow. Thanks both!
efemoney09/23/2020, 11:02 PM
Zach Klippenstein (he/him) [MOD]09/23/2020, 11:11 PM
use it, which are pretty different use cases so looking at their implementations is helpful.
Louis Pullen-Freilich [G]09/23/2020, 11:42 PM
grandstaish09/24/2020, 9:44 AM
is doing dividers too, so this makes things pretty easy for me 🙂
efemoney09/25/2020, 10:48 AM
grandstaish09/25/2020, 11:22 AM