xuxiuxi
2017-04-17 03584fe5508480698617a4d051fad7c44bd46ed7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package cn.com.basic.face.pulltorefresh;
 
import android.view.View;
import android.widget.ImageView;
 
/**
 * Interface that allows PullToRefreshBase to hijack the call to
 * AdapterView.setEmptyView()
 *
 * @author chris
 */
public interface EmptyViewMethodAccessor {
 
    /**
     * Calls upto AdapterView.setEmptyView()
     *
     * @param View
     *            to set as Empty View
     */
    public void setEmptyViewInternal(View emptyView);
 
    /**
     * Should call PullToRefreshBase.setEmptyView() which will then
     * automatically call through to setEmptyViewInternal()
     *
     * @param View
     *            to set as Empty View
     */
    public void setEmptyView(View emptyView);
 
 
 
}