Plac3hold3r / MvxScaffolding

🏗️ A customizable template used to scaffold a cross-platform MvvmCross application.
MIT License
125 stars 40 forks source link

LinkerPleaseInclude.cs UISearchBar addition? #994

Closed Hackmodford closed 3 years ago

Hackmodford commented 3 years ago

Does this need to be added to the linkerPleaseInclude.cs file?

public void Include(UISearchBar searchBar)
{
   searchBar.Text = $"{ searchBar.Text }";
   searchBar.TextChanged += (sender, e) => searchBar.Text = "";
   searchBar.CancelButtonClicked += (s, e) => searchBar.Text = $"{ searchBar.Text }";
}
Plac3hold3r commented 3 years ago

Hi @Hackmodford, it can be added. I have no issue with including this change. Would you like to do a PR for it?

Hackmodford commented 3 years ago

I will create a PR. I just wanted to confirm it fixed a crash for me first. It did.

Hackmodford commented 3 years ago

PR created

Plac3hold3r commented 3 years ago

Thanks, I will include this in the next build.