Skip to content
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

Segmented button model - add method to get number of items in the model. #800

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tony4dev
Copy link
Contributor

The only way to get number of items in the model right now is to do
nav.iter().count() which is unnecessarily costly. Therefore I have added a simple method to get the length of the deque.

@Tony4dev Tony4dev changed the title Segmented button model - add convenience method to get number of items in the model. Segmented button model - add method to get number of items in the model. Jan 24, 2025
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.

1 participant