AdapterDelegates icon indicating copy to clipboard operation
AdapterDelegates copied to clipboard

For viewBinding, pass the inflateToParent argument to the binding function

Open PaulWoitaschek opened this issue 5 years ago • 0 comments

This allows a method reference to be passed which makes the adapter delegates way nicer to use. Unfortunately this is a breaking change because there is now an additional parameter.

I did not find a way to have this in a backwards compatible way because there will be an ambiguity for the caller when trying to use a method reference because both functions exist that match to both overloads.

PaulWoitaschek avatar Dec 30 '20 21:12 PaulWoitaschek