We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@OverRide public void onSwiped(RecyclerView.ViewHolder viewHolder, Image.DataBean img, int direction) { Logger.i("index = " + viewHolder.getLayoutPosition()); // index = 0 Logger.i("index = " + mData.indexOf(img)); // index = -1 mData是数据源 Logger.i("index = " + adapter.getItemCount()); // index = 10 正常 if (adapter.getItemCount() == 5) { pageindex++; getData(); snackbar.show((MainActivity) mContext); } } 如果是清空之后在加载图片的话体验不是很好 没有直接的点击事件 请原谅我直接下载了代码 进行修改
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@OverRide
public void onSwiped(RecyclerView.ViewHolder viewHolder, Image.DataBean img, int direction) {
Logger.i("index = " + viewHolder.getLayoutPosition()); // index = 0
Logger.i("index = " + mData.indexOf(img)); // index = -1 mData是数据源
Logger.i("index = " + adapter.getItemCount()); // index = 10 正常
if (adapter.getItemCount() == 5) {
pageindex++;
getData();
snackbar.show((MainActivity) mContext);
}
}
如果是清空之后在加载图片的话体验不是很好
没有直接的点击事件
请原谅我直接下载了代码 进行修改
The text was updated successfully, but these errors were encountered: