When creating a Spinner
, I assign an OnItemSelectedListener
using setOnItemSelectedListener
. When a select an item in the spinner, the onItemSelected
method is called, with arguments including position
and id
.
From my observations, position
and id
always have the same values. Is there any difference in the meaning of these values when using an OnItemSelectedListener
with a Spinner
?