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

How has firefox/gecko HTML+CSS rendering changed in version 38? -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -