-
public class FabScrollBehavior extends FloatingActionButton.Behavior
-
-
Constructor Summary
Constructors Constructor Description FabScrollBehavior(Context context, AttributeSet attrs)
-
Method Summary
Modifier and Type Method Description booleanonStartNestedScroll(@NonNull() CoordinatorLayout coordinatorLayout, @NonNull() FloatingActionButton child, @NonNull() View directTargetChild, @NonNull() View target, int axes, int type)voidonNestedScroll(@NonNull() CoordinatorLayout coordinatorLayout, @NonNull() FloatingActionButton child, @NonNull() View target, int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed, int type, @NonNull() Array<int> consumed)voidonStopNestedScroll(@NonNull() CoordinatorLayout coordinatorLayout, @NonNull() FloatingActionButton child, @NonNull() View target, int type)-
Methods inherited from class com.google.android.material.floatingactionbutton.FloatingActionButton.BaseBehavior
getInsetDodgeRect, isAutoHideEnabled, onAttachedToLayoutParams, onDependentViewChanged, onLayoutChild, setAutoHideEnabled, setInternalAutoHideListener -
Methods inherited from class androidx.coordinatorlayout.widget.CoordinatorLayout.Behavior
blocksInteractionBelow, getScrimColor, getScrimOpacity, getTag, layoutDependsOn, onApplyWindowInsets, onDependentViewRemoved, onDetachedFromLayoutParams, onInterceptTouchEvent, onMeasureChild, onNestedFling, onNestedPreFling, onNestedPreScroll, onNestedScroll, onNestedScrollAccepted, onRequestChildRectangleOnScreen, onRestoreInstanceState, onSaveInstanceState, onStartNestedScroll, onStopNestedScroll, onTouchEvent, setTag -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
FabScrollBehavior
FabScrollBehavior(Context context, AttributeSet attrs)
-
-
Method Detail
-
onStartNestedScroll
boolean onStartNestedScroll(@NonNull() CoordinatorLayout coordinatorLayout, @NonNull() FloatingActionButton child, @NonNull() View directTargetChild, @NonNull() View target, int axes, int type)
-
onNestedScroll
void onNestedScroll(@NonNull() CoordinatorLayout coordinatorLayout, @NonNull() FloatingActionButton child, @NonNull() View target, int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed, int type, @NonNull() Array<int> consumed)
-
onStopNestedScroll
void onStopNestedScroll(@NonNull() CoordinatorLayout coordinatorLayout, @NonNull() FloatingActionButton child, @NonNull() View target, int type)
-
-
-
-