I made a repo to test it here: https://github.com/codychaplin/UraniumUITest. The AutoCompleteTextField works correctly when using constructor dependency injection, but not when using explicit dependency resolution. My repo shows the ItemsSource for 4 different AutoCompleteTextFields getting set in different ways. All ways work except for the one I described above.
Long story short, I discovered that, at least on Android, the dropdown menu doesn't show up at all while typing when the ItemsSource is bound using a viewmodel that was set via
Handler.MauiContext.Services.GetService<>()
. https://github.com/dotnet/docs-maui/blob/main/docs/fundamentals/dependency-injection.md#explicit-dependency-resolutionI made a repo to test it here: https://github.com/codychaplin/UraniumUITest. The AutoCompleteTextField works correctly when using constructor dependency injection, but not when using explicit dependency resolution. My repo shows the ItemsSource for 4 different AutoCompleteTextFields getting set in different ways. All ways work except for the one I described above.