sockeqwe/AdapterDelegates

Nullable block in adapterDelegateViewBinding

bitvale opened this issue · 0 comments

Sometimes we need a view holder without any logic, for example shimmer. Now we need to pass empty curly braces to the adapter delegate:

image

Wouldn't it be more convenient to make the block parameter nullable and null by default?