Skip to content

bindViewHolder method is causing a problem with greendao #484

@nordanfors

Description

@nordanfors

I am using GreenDao for persistence in my project and I am getting some error when trying to implement Flexible adapter:

Error:Execution failed for task ':app:greendao'.

Found 1 problem(s) parsing
Pb(572) List is a raw type. References to generic type List should be parameterized (16777788 at line 248).

Line 248 in my code is this method:
public void bindViewHolder(FlexibleAdapter adapter, MyViewHolder holder, int position,
List payloads) {...}

It seems greendao is not happy with the payload List being typeless. I have not been able to figure out a solution or workaround so any help would be very welcome.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions