Commit 25ca9a5
Fixes #1452.
When `Xamarin.AndroidX.Compose.Material3Android 1.4.0.3` was packaged in
PR #1418, several of its Compose dependencies were still empty facades
(real bindings for `Compose.UI.Graphics`, `Compose.UI.Text`, `Compose.UI.Unit`,
and parts of `Compose.Foundation` were un-stripped *after* that release in
PRs #1438, #1440, #1448, #1454, #1458). In particular,
`androidx.compose.foundation.shape.CornerBasedShape` was not resolvable
to the binding generator at the time `material3-android` was built, so
the generator silently dropped every member that referenced it -
including the `Shapes(extraSmall, small, medium, large, extraLarge)`
secondary constructor reported in #1452, the
`Shapes.{ExtraSmall, Small, Medium, Large, ExtraLarge}` properties,
`Shapes.Copy(...)`, and the `*Defaults.GetShape(...)` /
`SegmentedButtonDefaults.GetBaseShape(...)` accessors across the
package.
Concretely, `Xamarin.AndroidX.Compose.Material3.Shapes` in the published
1.4.0.3 binary has zero references to `CornerBasedShape` and only
exposes the no-arg `Shapes()` ctor. A fresh rebuild against the current
dependency graph produces 27 references to `CornerBasedShape` on that
same class, including the 5-arg ctor.
No source/transform changes are required - rebuilding against the now-
real Compose dependencies is the fix. This bumps the NuGet revision so
the rebuilt assembly actually ships, and refreshes
`PublicAPI.Unshipped.txt` to record the ~446 newly bound members
(auto-regenerated by `Mono.ApiTools.MSBuildTasks` in
`_GeneratePublicApiFiles`).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 96217a8 commit 25ca9a5
2 files changed
Lines changed: 447 additions & 1 deletion
File tree
- source/androidx.compose.material3/material3-android/PublicAPI
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
| 411 | + | |
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
| |||
0 commit comments