Zoltan Demant
06/17/2022, 5:40 AMrememberRipple()
in a shared module. Is it OK to bring in material as implementation
(not api
) even though the module is eventually consumed by both phone & wear variants that make use of material/material-wear?
Docs advice against mixing these up, but afaik thats just to ensure that you dont make use of the wrong MaterialTheme
(etc); material-wear itself depends on material?yschimke
06/17/2022, 6:22 AMyschimke
06/17/2022, 6:23 AMZoltan Demant
06/17/2022, 6:36 AMModifier.clickable
with some QOL features, but most importantly it makes it possible for the caller to specify whether the indication should be borderless - without depending on material/ripple. My design system depends on material, my apps have no idea about material; they just consume the composables that the system provides.John Nichol
06/17/2022, 6:37 AMZoltan Demant
06/17/2022, 6:42 AM