Skip to content

Conversation

@kaweesi
Copy link

@kaweesi kaweesi commented Mar 14, 2021

No description provided.

@kaweesi kaweesi changed the title Added support for managing number of replays of cycles before stopping Added support for managing number replays & removing childViews Mar 14, 2021
tickerView.addChildView(tv);
}

// Call setReplays(replays) to set numper of times to loop/scroll entire messages

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

numper -> number

Comment on lines +40 to +41
private Integer replays;
private Integer loop = 1;

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?

Suggested change
private Integer replays;
private Integer loop = 1;
private int replays;
private int loop = 1;

Comment on lines +149 to +151
/**
*
*/

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;

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

Suggested change
private boolean replaysCompleted = false;
private boolean replaysCompleted;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants