onNestedScroll called only once

后端 未结 5 1187
面向向阳花
面向向阳花 2021-02-06 06:30

I have a class

public class ScrollAwareFABBehavior extends FloatingActionButton.Behavior {
    public ScrollAwareFABBehavior(Context context, AttributeSet attrs         


        
5条回答
  •  深忆病人
    2021-02-06 07:00

    Do not set the visibility of FAB to GONE in child.hide() - use INVISIBLE instead. From 25.1.0, the scroll events are not passed on to views whose visibility is GONE

提交回复
热议问题