-
Notifications
You must be signed in to change notification settings - Fork 4
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
Added support for managing number replays & removing childViews #3
base: master
Are you sure you want to change the base?
Conversation
@@ -76,6 +76,12 @@ for (int index = 0; index < 50; index++) { | |||
tickerView.addChildView(tv); | |||
} | |||
|
|||
// Call setReplays(replays) to set numper of times to loop/scroll entire messages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
numper -> number
private Integer replays; | ||
private Integer loop = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use primitive type for better memory usage?
private Integer replays; | |
private Integer loop = 1; | |
private int replays; | |
private int loop = 1; |
/** | ||
* | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove empty comment
|
||
private Integer replays; | ||
private Integer loop = 1; | ||
private boolean replaysCompleted = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can remove explicit assignment to false since it's already the default value
private boolean replaysCompleted = false; | |
private boolean replaysCompleted; |
No description provided.