【原创】实用API拾遗_持续更新

2020-12-13 06:11

阅读:248

标签:android   style   color   java   os   io   strong   for   

 

1.int android.widget.AbsListView.pointToPosition(int x, int y):将坐标映射成list位置序号!!    2014.08.08

Maps a point to a position in the list.

Parameters:
x X in local coordinate
y Y in local coordinate
Returns:
The position of the item which contains the specified point, or INVALID_POSITION if the point does not intersect an item.

2.int android.widget.AdapterView.getFirstVisiblePosition():得到屏幕上list第一个可见的item  2014.08.08

Returns the position within the adapter‘s data set for the first item displayed on screen.

Returns:
The position within the adapter‘s data set

 

【原创】实用API拾遗_持续更新,搜素材,soscw.com

【原创】实用API拾遗_持续更新

标签:android   style   color   java   os   io   strong   for   

原文地址:http://www.cnblogs.com/LiesSu/p/3899404.html


评论


亲,登录后才可以留言!