Use discoverable .NET casing for newer multi-word Material namespaces#1432
Open
Copilot wants to merge 3 commits into
Open
Use discoverable .NET casing for newer multi-word Material namespaces#1432Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix casing for Xamarin.Google.Android.Material namespaces
Use discoverable .NET casing for newer multi-word Material namespaces
Jun 2, 2026
Member
|
@copilot can you increment the version of the appropriate packages by 0.0.0.1 |
There was a problem hiding this comment.
Pull request overview
This PR improves the generated .NET namespaces for newer multi-word Material Java packages by adding package-level managedName overrides, making the namespaces discoverable and consistent with expected .NET casing (e.g., ...ListItem instead of ...Listitem).
Changes:
- Added
managedNametransforms forlistitem,loadingindicator,dockedtoolbar, andfloatingtoolbarpackages. - Updated
PublicAPI.Unshipped.txtentries to reflect the corrected namespaces for affected unshipped types. - Updated
published-namespaces.txtto the new namespace spellings while preserving ordinal sort order.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| source/com.google.android.material/material/Transforms/Metadata.xml | Adds package-level managedName overrides to correct multi-word namespace casing. |
| source/com.google.android.material/material/PublicAPI/PublicAPI.Unshipped.txt | Updates unshipped API declarations to the corrected namespaces. |
| published-namespaces.txt | Updates the published namespace list to match the new generated namespaces (kept in ordinal-sorted order). |
Co-authored-by: jonathanpeppers <840039+jonathanpeppers@users.noreply.github.com>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Newer multi-word Material packages generate namespaces with only first-letter casing (e.g.
Google.Android.Material.Listitem), which is undiscoverable from the upstream Java package or Material component name.The binding generator derives namespaces from all-lowercase Java packages (
com.google.android.material.listitem) with no word boundaries, so only the first letter was capitalized. Following the existing convention of package-levelmanagedNameoverrides, the affected namespaces are now corrected:Changes
material/Transforms/Metadata.xml— Added package-levelmanagedNametransforms forlistitem,loadingindicator,dockedtoolbar, andfloatingtoolbar.material/PublicAPI/PublicAPI.Unshipped.txt— Updated affected (unshipped) API entries to the new namespaces.published-namespaces.txt— Updated to match generated output, preservingStringComparer.Ordinalordering required by theverify-namespace-filecheck.config.json— Incremented theXamarin.Google.Android.Materialnuget version by0.0.0.1(1.14.0→1.14.0.1).Notes