Use CommunityToolkit.Maui or CommunityToolkit.Maui.Core? #607
-
Just wonder what is CommunityToolkit.Maui.Core, because all document is talking CommunityToolkit.Maui package, but few mention the CommunityToolkit.Maui.Core, just a line on Nuget - So which one shoud I use if working MAUI with .NET core 6 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
CommunityToolkit.Maui.Core is abstraction. It contains interfaces, handlers and platform controls. It can be used by other developers to implement there own MAUI controls. For example. If you want to have your own DrawingView or Snackbar you can implement interfaces from Core |
Beta Was this translation helpful? Give feedback.
-
I think that making tools and references for a programing language or platform as unambiguous as possible helps new developers to stick with that programming language or platform rather than go another route. I think this explanation below given by VladislavAntonyuk should be added to both the listing and description of CommunityToolkit.Maui.Core within Visual Studio shown in screenshots below.
Note that the Project URL for both above is the same. Not sure if this is a simple error or not. It almost seems like Microsoft doesn't know whether it wants to recognize CommunityToolkit.Maui.Core or not, which just makes it more confusing. They list it in Visual Studio (shown above) with little explanation, but don't have a learn.microsoft page for it. https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/ And\or maybe Microsoft should have a page for the CommunityToolkit.Maui.Core, which it doesn't appear to have. https://learn.microsoft.com/en-us/dotnet/communitytoolkit/ https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/core/ (Nothing here) It probably would help also if the description was added to the nuget readme pages for both of the following instead of only saying: https://www.nuget.org/packages/CommunityToolkit.Maui.Core#readme-body-tab These above only say:
It probably would help also if the description was added to the nuget release pages: https://www.nuget.org/packages/CommunityToolkit.Maui.Core#release-body-tab These above only say: |
Beta Was this translation helpful? Give feedback.
-
Closed as answered |
Beta Was this translation helpful? Give feedback.
CommunityToolkit.Maui.Core is abstraction. It contains interfaces, handlers and platform controls. It can be used by other developers to implement there own MAUI controls.
CommunityToolkit.Maui implements Core.
For example. If you want to have your own DrawingView or Snackbar you can implement interfaces from Core