package com.example.administrator.cookman.ui.component.twinklingrefreshlayout; import android.view.View; /** * Created by lcodecore on 2016/10/1. */ public interface IBottomView { View getView(); /** * 上拉准备加载更多的动作 * * @param fraction 上拉高度与Bottom总高度之比 * @param maxHeadHeight 头部可拉伸最大高度 * @param headHeight 头部高度 */ void onPullingUp(float fraction, float maxHeadHeight, float headHeight); void startAnim(float maxHeadHeight, float headHeight); /** * 上拉释放过程 * * @param fraction * @param maxHeadHeight * @param headHeight */ void onPullReleasing(float fraction, float maxHeadHeight, float headHeight); void onFinish(); void reset(); }