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);
|
|
|
|
}
|