public void setCallbackDuringFling (boolean shouldCallback)
Since:
API Level 1
Whether or not to callback on any getOnItemSelectedListener()
while the items are being flinged. If false, only the final selected item will cause the callback. If true, all items between the first and the final will cause callbacks.
设置这个属性,再设置监听setOnItemSelectedListener()值会返回滑动停止后对应item的值