I'm following this tutorial and work fine. https://developer.xamarin.com/recipes/android/controls/imageview/display_an_image
But in my case, I have 200 pictures. The user will write word in EditText, after click in button, show picture respective. How can I change picture source in code below:
EditText edit = FindViewById<EditText>(Resource.Id.edtName);
button.Click += delegate
{
img.SetImageResource(Resource.Drawable.sample2);
};
where "sample2" change for edit.Text. (text write for user...)