On iOS, when you have a tableView, you can set isEditing = true, implement a couple protocols, and you get the very consistent "delete rows" widgetry. Is there a pattern for doing that in Compose/Material3? Basically, I have a Column of Rows, want to go into an idiomatic mode where they can be selectively removed. I think I get how easy it will be to roll my own if necessary, Compose makes this kind of thing straightforward I think. I just wondered if there was boilerplated stuff.
Chris Sinco [G]
03/15/2023, 12:15 AM
There is not. Unfortunately right now you would have to construct that manually.
Part of the reason is that there is no definitive list or table control in Material Design, with all those behaviors
But to your other point, Compose makes it relatively straightforward to construct this kind of thing. There’s a probable future where we could have more high level controls like this available from Google, but at the moment we are focusing on other foundational areas.