kirillrakhman
11/04/2016, 9:31 AMView has a method setOnScrollChangeListener which taks a SAM with the signature
void onScrollChange(View v, int scrollX, int scrollY, int oldScrollX, int oldScrollY)
. Then there is the subclass NestedScrollView which also has a method setOnScrollChangeListener (that doesn't override the other one) that takes a SAM with the signature
void onScrollChange(NestedScrollView v, int scrollX, int scrollY, int oldScrollX, int oldScrollY).
Now, if you write nestedScrollView.setOnScrollChangeListener { v, sx, sy, ox, oy -> }, which method do you expect it to be resolved to?