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
onPageSelected is empty implemention Add below code in LinePagerIndicator can fix but no anim
onPageSelected
@Override public void onPageSelected(int position) { PositionData current = FragmentContainerHelper.getImitativePositionData(mPositionDataList, position); float leftX; float rightX; if (mMode == MODE_MATCH_EDGE) { leftX = current.mLeft + mXOffset; rightX = current.mRight - mXOffset; } else if (mMode == MODE_WRAP_CONTENT) { leftX = current.mContentLeft + mXOffset; rightX = current.mContentRight - mXOffset; } else { // MODE_EXACTLY leftX = current.mLeft + (current.width() - mLineWidth) / 2; rightX = current.mLeft + (current.width() + mLineWidth) / 2; } mLineRect.left = leftX; mLineRect.right = rightX; mLineRect.top = getHeight() - mLineHeight - mYOffset; mLineRect.bottom = getHeight() - mYOffset; invalidate(); }
The text was updated successfully, but these errors were encountered:
same problem. can help please
Sorry, something went wrong.
No branches or pull requests
onPageSelected
is empty implementionAdd below code in LinePagerIndicator can fix but no anim
The text was updated successfully, but these errors were encountered: