langara
12/11/2016, 12:58 AMMyDelegate not only returns specificViewHolder but also takes specificViewHolder (in onBindViewHolder function),
So, the VH type has to be invariant, so type system limitations will not let you do what you want - I guess 🙂
As a workaround you could always use base ViewHolder as a second type parameter of your delegates, and just cast it to/from specificViewHolder
inside onCreateViewHolder and onBindViewHolder functions.