Files
Xuewang365OSNeutral/app/src/main/java/com/uiui/zyos/base/CustomContentCallbacks.java
Fanhuitong 34433f4f1f version:1.0
fix:
update:基本布局实现
2023-02-09 16:03:47 +08:00

22 lines
682 B
Java

package com.uiui.zyos.base;
// add by codemx.cn ---- 20190712 ---plus- start
// modify by codemx.cn ---- 20190712 ---plus- start
public interface CustomContentCallbacks {
// Custom content is completely shown. {@code fromResume} indicates whether this was caused
// by a onResume or by scrolling otherwise.
void onShow(boolean fromResume);
// Custom content is completely hidden
void onHide();
// Custom content scroll progress changed. From 0 (not showing) to 1 (fully showing).
void onScrollProgressChanged(float progress);
// Indicates whether the user is allowed to scroll away from the custom content.
boolean isScrollingAllowed();
}