add new feature:
setCanRefresh(boolean canRefresh, boolean ableToShowHeadView)