evrencoskun / TableView

TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells.
MIT License
3.14k stars 459 forks source link

Library update from 0.8.6 to 0.8.8 breaks table adapter #130

Closed bogdanmunteanu closed 6 years ago

bogdanmunteanu commented 6 years ago

Hi @evrencoskun ,

I have updated to the latest version of the library and now the adapter doesn't compile anymore

error: onCreateColumnHeaderViewHolder(ViewGroup,int) in SelectionAdapter cannot implement onCreateColumnHeaderViewHolder(ViewGroup,int) in ITableAdapter return type ViewHolder is not compatible with AbstractViewHolder

Any solution for this problem ?

bogdanmunteanu commented 6 years ago

After looking into ITableAdapter class , i have solved it by replacing the return type from "RecyclerView.ViewHolder" to "AbstractViewHolder" and works. Issue can be closed 👍