Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Create android spinner(DropDown) dynamically in Xamarin
arvind baldaniya
Mar 9 2017 1:24 AM
326
My code
List<Models.Professional> m_prof = new List<Models.Professional>();
ArrayAdapter<String> prof_adapter = new ArrayAdapter<string>(this, Android.Resource.Layout.SimpleSpinnerItem, m_prof);
var spnrProfesion = main_view.FindViewById<Spinner>(Resource.Id.spnProfession);
spnrProfesion.Adapter = prof_adapter;
Reply
Upload Source Code
Select only zip and rar file.
Post
Reset
Answers (
1
)
Get the Spinner values in android
Android IDE problem