setSmoothFocusChangesEnabled

Enable or disable smooth scrolling to new focused position. By default, this is set to true. When set to false, RecyclerView will scroll immediately to the focused view without any animation.

Parameters

enabled

true to smooth scroll to the new focused position, false to scroll immediately