Lisa随手记 1.8开发日志

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中的位置

Open Declaration int android. widget. AdapterView.getFirstVisiblePosition()


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中的位置。



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值