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.
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'.
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.