Files
VscoolOS/app/src/main/java/com/xxpatx/os/custom/CustomContentCallbacks.java
tongtongstudio f03f8df38d version:1.2.4
fix:
update:优化显示未读短信和未接来电,增加手电筒和数据开关
2024-09-24 10:30:27 +08:00

22 lines
684 B
Java

package com.xxpatx.os.custom;
// 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();
}