bmarrdev / android-DecoView-charting

DecoView: Android arc based animated charting library
Apache License 2.0
991 stars 194 forks source link

DecoView within Recyclerview #10

Open droidraja opened 8 years ago

droidraja commented 8 years ago

The decoview misbehaves within a RecyclerView , the same view gets repeated without creating a new object for the viewholder.

osrl commented 8 years ago

I don't know if it is related but it really misbehaves when one seriesItem is thicker than the other. This happens after scrolling down and up again:

screen shot 2016-08-01 at 17 26 18

Purple one is 8 dp, gray one is 6dp. Purple one is added first. The actual endPosition is 0. There are values like 20, 84 etc on the dataset.

note: executeReset() did the job

AdityaChaudhary commented 7 years ago

I have the same issue. The 5th object in recycler view creates the duplicate of 0th position object.

kokilaw commented 6 years ago

@osrl @AdityaChaudhary @droidraja is there any sample code for DecoView chart implemented on a recycler view? Big help!