What is the difference between `id` and `pos` n a Spinner's OnItemSelectedListener? -


when creating spinner, assign onitemselectedlistener using setonitemselectedlistener. when select item in spinner, onitemselected method called, arguments including position , id.

from observations, position , id have same values. there difference in meaning of these values when using onitemselectedlistener spinner?


Comments

Popular posts from this blog

c# - Where does the .ToList() go in LINQ query result -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -