Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add ViewBinding support #1

Open
avalanchas opened this issue Jun 13, 2022 · 0 comments
Open

Add ViewBinding support #1

avalanchas opened this issue Jun 13, 2022 · 0 comments

Comments

@avalanchas
Copy link
Owner

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
The setAdapter() method should accept a ViewBinding so that when the onCreateViewHolder() is called it can pass the inflated layout back to the caller. Therefore, the implementor could use ViewBinding instead of repeatedly callling findViewById after the CarouselViewListener callbacks

Describe alternatives you've considered
findViewById usage is verbose and tedious

Additional context

avalanchas pushed a commit that referenced this issue Jun 13, 2022
minor cleanup
@avalanchas avalanchas changed the title ViewBinding support Add ViewBinding support Jun 14, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant