[Proposal] Add ItemTemplate to customize the Drop Down suggestions
- To augment suggestion list to show images, tags, etc.
- Add ItemTemplate property AutoCompleteEntry to customize the suggestion list.
- In Android, i think
Adapter = _adapter = new AutoCompleteAdapter(Context, global::Android.Resource.Layout.SimpleDropDownItem1Line);needs to be modified
It looks like @david-d-le has a solution for this https://github.com/CommunityToolkit/Maui/discussions/1828#discussioncomment-10587261 Could you create a PR into this repo?
Yup, there's already some work being done in this direction. I've created a new branch 'feature/item_template_support' that can be used to develop this feature.
Maybe @david-d-le can PR the code into that branch and we can work from there and add support for the rest of the platforms (iOS, Mac and Windows)?
Hi, i will do PR as soon as i am back and will have access to my pc
Thanks @david-d-le for the PR. I've completed the PR and now the branch 'feature/item_template_support' has the latest changes that support Android ItemTemplate. If someone starts a new development for one the platforms, write it here, so that we don't do duplicated work :) Thanks!
I've created a new branch for this implementation, https://github.com/zleao/zoft.MauiExtensions.AutoCompleteEntry/tree/feature/item_template
This branch has already support for .NET9 and NoBorder feature. I'll add the changes already made for Android and try to implement the iOS and WinUI part.