package com.sunfusheng.StickyHeaderListView.view; import android.app.Activity; import android.view.View; import android.widget.ListView; import com.sunfusheng.StickyHeaderListView.R; /** * Created by sunfusheng on 16/4/20. */ public class HeaderDividerViewView extends HeaderViewInterface<String> { public HeaderDividerViewView(Activity context) { super(context); } @Override protected void getView(String s, ListView listView) { View view = mInflate.inflate(R.layout.header_divider_layout, listView, false); listView.addHeaderView(view); } }