AAChartCore-Kotlin icon indicating copy to clipboard operation
AAChartCore-Kotlin copied to clipboard

How to implement the ChartView in a RecyclerView using a BindingAdapter

Open guglielmo-boi opened this issue 4 years ago β€’ 0 comments

Can anyone help me to use the ChartView in a RecyclerView (displaying some speedcubing sessions' data) using a binding adapter?

I have tried adding the ChartView to the RecyclerView items list and implementing a BindingAdapter for it where I call aa_drawChartWithChartModel(...) passing the item's chartModel to it, but I have no idea if that's right.

For now, it seems like the chart is loaded in the view but it is invisible.

SessionsRecyclerViewFiles.zip

guglielmo-boi avatar May 14 '21 08:05 guglielmo-boi