AdapterDelegates
AdapterDelegates copied to clipboard
For viewBinding, pass the inflateToParent argument to the binding function
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.