ShineButton icon indicating copy to clipboard operation
ShineButton copied to clipboard

Shine button automatically getting checked.

Open imneeraj opened this issue 8 years ago • 4 comments

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.

imneeraj avatar Nov 02 '16 07:11 imneeraj

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]

thewthew avatar Nov 11 '16 22:11 thewthew

@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.

srujanb avatar Feb 07 '17 15:02 srujanb

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

hechenyu1995 avatar May 02 '17 08:05 hechenyu1995

@hechenyu1995 didn't get you.

srujanb avatar May 13 '17 13:05 srujanb