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 onPageSelected(int position) { curPosition = position;
if (curPosition == list.size() - 1 || curPosition == 0) { final int newReplacePosition = getRealPosition(curPosition); mHandler.postDelayed(new Runnable() { @Override public void run() { viewPager.setCurrentItem(newReplacePosition,false); } },250); } }
The text was updated successfully, but these errors were encountered:
好的,我看看怎么去修复
Sorry, something went wrong.
No branches or pull requests
布局上添加图片以后,当滑动到临界位置进行切换时,会有小小的跳动动画。
无限循环时效果不是非常完美。
不完美处在这里
@OverRide
public void onPageSelected(int position) {
curPosition = position;
The text was updated successfully, but these errors were encountered: