Java Code Examples for android.widget.ListView.setHeaderDividersEnabled()

The following are Jave code examples for showing how to use setHeaderDividersEnabled() of the android.widget.ListView class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: Mount   File:   Source Code and License Vote up 5 votes
private void setupListView() {
    mListView = (ListView) findViewById(;

    mPackageList = new ArrayList<>();
    mPackageAdapter = new PackageItemAdapter(this, mPackageList);

    mListView.setOnScrollListener(this); // not show fast scroll always
Example 2
Project: sctalk   File:   Source Code and License Vote up 5 votes
protected ListView createRefreshableView(Context context, AttributeSet attrs) {
	ListView lv = createListView(context, attrs);

	// Set it to this so it can be used in ListActivity/ListFragment
	return lv;