Skip to content

滑动RecylerView的时候,怎么动态获取当前显示在中间的item位置 #10

@xcode126

Description

@xcode126

我的场景是这样的:使用RecylerView做了一个收音机的FM刻度尺,手滑动列表的时候,手不松开,一直滑动,可以实时动态显示最中间的item的频率信息;
微信截图_20211201151648

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions