You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compose Material3: ShapesKt.Shapes(...) builder missing from binding (no inline-class params, not blocked on java-interop#1440) #1452
In Xamarin.AndroidX.Compose.Material3Android (verified against 1.4.0.3), the ShapesKt companion class only exposes the LocalShapes CompositionLocal accessor — the public Shapes(small, medium, large, extraSmall, extraLarge) builder
function is missing entirely:
Notably none of the parameters are inline-class types — they're
all reference types (CornerBasedShape). So this is not the same
JVM-mangling story as Text--4IGK_g / Button-bWB7cM8 / lightColorScheme(-...) from dotnet/java-interop#1440. This looks like a real binder
bug or an overly broad <remove-node> rule in material3-android/Transforms/Metadata.xml.
new Shapes() parameterless ctor (so callers can take the
Compose default)
— so the typeShapes is fully bound and consumable; only the factory function that lets you build a customized Shapes with
the standard defaults is missing. This blocks jonathanpeppers/compose-net#61 (parameterizing MaterialTheme).
Ask
Find and remove the <remove-node> (or equivalent <remove-method>) in material3-android/Transforms/Metadata.xml
that's stripping the Shapes(...) static builder out of ShapesKt, then bump nugetVersion on Xamarin.AndroidX.Compose.Material3Android.
If the strip is intentional because of a related binder issue
(e.g. CornerBasedShape not yet being resolvable at the right
binding-pipeline stage), please flag that as the underlying root
cause so we can track it separately.
Activity
Add Color struct and parameterise MaterialTheme (refs #61) (#133)
Add Material Icons facade (refs #61)
Add Material Icons facade (refs #61)
Add Material Icons facade (refs #61)
Add Material Icons facade (refs #61)
Add Material Icons facade (refs #61)
Add Material Icons facade (refs #61) (#177)
Rebuild Compose.Material3.Android to pick up CornerBasedShape APIs (#…