码迷,mamicode.com
首页 > 移动开发 > 详细

Android AdapterView.OnItemSelectedListener

时间:2015-02-28 18:24:59      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:

AdapterView.OnItemSelectedListener

Summary


Public Methods
abstract void onItemSelected(AdapterView<?> parent, View view, int position, long id)

Callback method to be invoked when an item in this view has been selected.

abstract void onNothingSelected(AdapterView<?> parent)
Callback method to be invoked when the selection disappears from this view.

 

Parameters
parent The AdapterView where the selection happened
view The view within the AdapterView that was clicked
position The position of the view in the adapter
id The row id of the item that is selected

Android AdapterView.OnItemSelectedListener

标签:

原文地址:http://www.cnblogs.com/icgq/p/AdapterView-OnItemSelectedListener.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!