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
while (offset <= -getBitmap(arrayIndex).getHeight()) { offset += getBitmap(arrayIndex).getHeight(); arrayIndex = (arrayIndex + 1) % scene.length; }
float start = offset; for (int i = 0; start < clipBounds.height(); i++) { Bitmap bitmap = getBitmap((arrayIndex + i) % scene.length); int width = bitmap.getWidth(); int height = bitmap.getHeight(); canvas.drawBitmap(bitmap, getBitmapLeft(width, start), getBitmapTop(height, start), null); start += width; } if (isStarted && speed != 0) { offset -= abs(speed); postInvalidateOnAnimation(); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
while (offset <= -getBitmap(arrayIndex).getHeight()) {
offset += getBitmap(arrayIndex).getHeight();
arrayIndex = (arrayIndex + 1) % scene.length;
}
The text was updated successfully, but these errors were encountered: