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

Make hashString64Bit and friends public #723

Closed
chrisbanes opened this issue Apr 8, 2019 · 3 comments
Closed

Make hashString64Bit and friends public #723

chrisbanes opened this issue Apr 8, 2019 · 3 comments

Comments

@chrisbanes
Copy link
Contributor

There are times when I might need to grab the model from the adapter using a model's ID. If I use id(String) then there there's no nice way to create the resulting long ID without the model.

I could do new Model().id("string").id() but that's wasteful.

@elihart
Copy link
Contributor

elihart commented Apr 8, 2019

Sure, sounds reasonable. Interested in putting up a PR?

@chrisbanes
Copy link
Contributor Author

Sure, preference on class name? IdUtils?

@elihart
Copy link
Contributor

elihart commented Apr 8, 2019

That sounds great, and feel free to do it in Kotlin

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

2 participants