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

Question about items function parameters #420

Open
happyduck-git opened this issue Nov 14, 2022 · 0 comments
Open

Question about items function parameters #420

happyduck-git opened this issue Nov 14, 2022 · 0 comments

Comments

@happyduck-git
Copy link

Hello! I was reading Readme.md and got a question about how should I understand those parameters.
For this function,
rx.items(cellIdentifier:String)
I guess the parameter name is cellIdentifier and the value is String type.

rx.items(cellIdentifier:String:Cell.Type:_:)
But for this function, why there is ': ' right after 'String' and why there is '_:' at the end? I saw the source code and it seems like this functions parameters are actually rx.items(cellIdentifier:String cellType: Cell.Type) ?

Could I get a help for understanding about this by any chance? Thank you

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

No branches or pull requests

1 participant