Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

Coordinatorlayout

Version 1.1.0-alpha01

December 3, 2018

API changes

  • aosp/737190: CoordinatorLayout now implements NestedScrollingParent3 and CoordinatorLayout.Behavior implements a new overload of onNestedScroll to enable Behaviors to be able to report how much scroll distance they consume to nested scrolling children (during the dispatchNestedScroll()/onNestedScroll() pass). The previously existing onNestedScroll(CoordinatorLayout, V, View, int, int, int, int, int) has been deprecated in favor of the new onNestedScroll(CoordinatorLayout, V, View, int, int, int, int, int, int[]) and Behavior implementations should be updated accordingly.

    If developer code currently overrides CoordinatorLayout#onNestedScroll(View, int, int, int, int, int), it will likely no longer be called and CoordinatorLayout#onNestedScroll(View, int, int, int, int, int, int[]) should be overridden instead.