Inaccurate Example in Handlers Documentation - Android Button Mapping #2726
Labels
doc-bug
Problem with the content; needs to be fixed [org]
dotnet-maui/subsvc
dotnet-mobile/svc
Pri2
📌 seQUESTered
Identifies that an issue has been imported into Quest.
Type of issue
Outdated article
Description
Description:
The handlers documentation uses the
Button
as an example to explain how handlers map cross-platform controls to native platform views. The documentation claims that:However, the actual implementation in the source code maps the
Button
to aMaterialButton
, as seen hereThis discrepancy between the documentation and the actual implementation can mislead developers referencing the handlers documentation.
Suggested Fix:
MaterialButton
is used as the native view on Android.AppCompatButton
with image correctly depicting aMaterialButton
.Since Image is involved, I couldn't raise a PR.
Page URL
https://learn.microsoft.com/en-us/dotnet/maui/user-interface/handlers/?view=net-maui-9.0
Content source URL
https://github.com/dotnet/docs-maui/blob/main/docs/user-interface/handlers/index.md
Document Version Independent Id
68990f2c-45ae-8d81-24cc-4004a2fa994c
Article author
@davidbritch
Metadata
Related Issues
Associated WorkItem - 362781
The text was updated successfully, but these errors were encountered: