{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public interface ScrollScope
Scope used for suspending scroll blocks
abstract float
scrollBy(float pixels)
Attempts to scroll forward by pixels px.
pixels
abstract float scrollBy(float pixels)
float
the amount of the requested scroll that was consumed (that is, how far it scrolled)