2015/3/27
近期修改一下内容:
1.删除不实用的密码功能
2.更改title tab的背景色为白色
3.增加搜索功能
4.所有类别同页显示,以颜色区分
2015/4/2
int android.widget.AbsListView.pointToPosition(int x, int y)
public int pointToPosition (int x, int y)
Added in
API level 1
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.
pointToPosition反馈的是在所有item中的位置
public int getFirstVisiblePosition ()
Added in
API level 1
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
getFirstVisiblePosition反馈的是第一个能够显示的item在所有item中的位置。