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

Cannot resolve method attach() #48

Open
gkermo opened this issue Sep 6, 2017 · 2 comments
Open

Cannot resolve method attach() #48

gkermo opened this issue Sep 6, 2017 · 2 comments

Comments

@gkermo
Copy link

gkermo commented Sep 6, 2017

Hi there,

I'm defining an HorizontalOverScrollBounceEffectDecorator that way:

HorizontalOverScrollBounceEffectDecorator decor = new HorizontalOverScrollBounceEffectDecorator(new RecyclerViewOverScrollDecorAdapter(mRecyclerView), 2.5f, 5f, HorizontalOverScrollBounceEffectDecorator.DEFAULT_DECELERATE_FACTOR);

When I try to run

decor.attach();

I got a compiler error:

Cannot resolved method attach()

I can do decor.detach(); though.

@ben-p-commits
Copy link

I am having the same issue- it's protected whereas detach is public. What's up? It's described as if it were public in the ReadMe.

Love the repo though, excellent quality. 👍

@ranbena
Copy link

ranbena commented Dec 6, 2018

@rotemmiz wdyt?

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

3 participants