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

Discussion - rename ViewHolder classes to GroupieViewHolder #287

Closed
ValCanBuild opened this issue Sep 17, 2019 · 5 comments
Closed

Discussion - rename ViewHolder classes to GroupieViewHolder #287

ValCanBuild opened this issue Sep 17, 2019 · 5 comments
Labels

Comments

@ValCanBuild
Copy link
Collaborator

ValCanBuild commented Sep 17, 2019

I'd like to start making more quality of life improvements in the library. One thing that I find annoying as a user is the fact that the Groupie ViewHolder class shares a name with the actual platform one.

My proposal is to rename it GroupieViewHolder. Ideally I'd also like to rename the databinding and kotlin-android-extensions versions to something else as well but I don't have any great name ideas. Would anyone have any suggestions?

Please comment here with your thoughts on this.

@Zhuinden
Copy link
Collaborator

My typealias was also called GroupieViewHolder for similar reasons, I think it's a good idea overall.

@DarrenAtherton49
Copy link

Upvote for GroupieViewHolder. What is the reasoning behind the databinding and kotlin-android-extensions` renaming?

@ValCanBuild
Copy link
Collaborator Author

@DarrenAtherton49 Its a more minor annoyance but the fact they all share a class name makes it less clear which one is used and can lead to errors/frustrations when importing. If you use the main library + either the databinding or kotlin extension one then you end up with 2 things named the same way.

@ValCanBuild
Copy link
Collaborator Author

PR created #293

@ValCanBuild
Copy link
Collaborator Author

Now deployed in 2.6.0. Thank you for your feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants