protected abstract View getHeadView();
protected abstract int getAdapterPosition();
protected abstract T setAdapter(); //这里初始化 adapter
protected void initListener() {
}
<BUG>protected RecyclerView.LayoutManager getLayoutManager(){
</BUG>
return new StaggeredGridLayoutManager(2, StaggeredGridLayoutManager.VERTICAL);
}
private void initRecyclerView() {

protected abstract View getHeadView();
protected abstract int getAdapterPosition();
protected abstract T setAdapter(); //这里初始化 adapter
protected void initListener() {
}
protected RecyclerView.LayoutManager getLayoutManager() {
return new StaggeredGridLayoutManager(2, StaggeredGridLayoutManager.VERTICAL);
}
private void initRecyclerView() {
