Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Proposal] Add ItemTemplate to customize the Drop Down suggestions #28

Open
peruchali opened this issue Sep 14, 2024 · 4 comments
Open

Comments

@peruchali
Copy link
Collaborator

  • 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
@peruchali
Copy link
Collaborator Author

It looks like @david-d-le has a solution for this CommunityToolkit/Maui#1828 (reply in thread)
Could you create a PR into this repo?

@zleao
Copy link
Owner

zleao commented Sep 16, 2024

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)?

@david-d-le
Copy link
Collaborator

Hi, i will do PR as soon as i am back and will have access to my pc

@zleao
Copy link
Owner

zleao commented Sep 24, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants