AdvancedRecyclerView
AdvancedRecyclerView copied to clipboard
I need to pass Model Object instead of Primitive Data Type
Hi, I'm implementing the sections list. And wondering if I could pass the Model Object too to the Section View. I saw your demo project and you are simply passing the Int, Sample (Custom Model Object). What if I also need to pass the custom model object too in RecyclerSectionAdapter parameters.
Currently it is like this class SampleSectionAdapter : RecyclerSectionAdapter<Int, Sample>({ it.rate }) {
And I want like this class OrdersAdapter: RecyclerSectionAdapter<Order, Order>({ it }) {
When I try to pass model object then I get the error. pease see attached image.

Could you please help me in this regard to resolve this issue.
Thanks, Hassan