Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new FamiliarRecyclerView.OnItemClickListener()单击无效 #19

Open
weiwei00200 opened this issue May 12, 2017 · 1 comment
Open

new FamiliarRecyclerView.OnItemClickListener()单击无效 #19

weiwei00200 opened this issue May 12, 2017 · 1 comment

Comments

@weiwei00200
Copy link

mRecyclerView.setOnItemClickListener(new FamiliarRecyclerView.OnItemClickListener() {
@OverRide
public void onItemClick(FamiliarRecyclerView familiarRecyclerView, View view, int position) {

        }

});
mRecyclerView是FamiliarRefreshRecyclerView
这样写,但是发现一直不会调用到,调试也每见进入这个回调

@wangjian1154
Copy link

检查你是否在Adapter中也给ItemView设置了点击事件,FamiliarRecyclerView.OnItemClickListener其实也是获取Adapter的ItemView设置点击事件,如果对同一个View设置两个点击事件,不一定都会起作用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants