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

Shine button automatically getting checked. #18

Open
imneeraj opened this issue Nov 2, 2016 · 4 comments
Open

Shine button automatically getting checked. #18

imneeraj opened this issue Nov 2, 2016 · 4 comments

Comments

@imneeraj
Copy link

imneeraj commented Nov 2, 2016

Hi
i'm using shinebutton in recyclerView. When i check the button and scroll down other buttons are automatically getting checked. same thing happening with unchecked.

@thewthew
Copy link

I haven't tried this project but I guess you might have the problem with any classic button in lists when you scroll down : I had the same problem.
My solution was to had a holder to the buttons, this should help you [http://stackoverflow.com/questions/1709166/android-listview-elements-with-multiple-clickable-buttons]

@ChadCSong ChadCSong added the bug label Nov 16, 2016
@srujanb
Copy link

srujanb commented Feb 7, 2017

@imneeraj I havent used this lib yet, but I guess you wrote your code in onCreateViewHolder() instead of onBindViewHolder(). Change it and your problem will most prob be solved.

@hechenyu1995
Copy link

@srujan7 My idea is he just forget to judge the statement in onBindViewHolder().In onCreateViewHolder(),adapter usually do not connnect to datas.

@srujanb
Copy link

srujanb commented May 13, 2017

@hechenyu1995 didn't get you.

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

No branches or pull requests

5 participants