AbsListView setFastScrollEnabled - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for AbsListView setFastScrollEnabled method.

This code example shows how to use the following methods:setFastScrollEnabled, setDividerHeight
 
    } 
 
    @Override 
    protected void configureList(Activity activity, ListView listView) {
        super.configureList(activity, listView);
 
        listView.setFastScrollEnabled(true);
        listView.setDividerHeight(0);
 
        getListAdapter() 
                .addHeader(activity.getLayoutInflater()
                        .inflate(R.layout.news_list_item_labels, null));
    } 
 
    @Override 
    LogoutService getLogoutService() { 
        return logoutService;
    } 
 
8
CodeRank
This code example shows how to use the following methods:setFastScrollEnabled, setDividerHeight
 
    } 
 
    @Override 
    protected void configureList(Activity activity, ListView listView) {
        super.configureList(activity, listView);
 
        listView.setFastScrollEnabled(true);
        listView.setDividerHeight(0);
 
        getListAdapter().addHeader(activity.getLayoutInflater()
                        .inflate(R.layout.user_list_item_labels, null));
    } 
 
    @Override 
    LogoutService getLogoutService() { 
        return logoutService;
    } 
 
 
8
CodeRank
This code example shows how to use the following methods:setDescendantFocusability, setFastScrollEnabled, setSmoothScrollbarEnabled, setTranscriptMode, setAdapter
This code example shows how to use the following methods:setFastScrollEnabled, setDividerHeight
 
    } 
 
    @Override 
    protected void configureList(Activity activity, ListView listView) {
        super.configureList(activity, listView);
 
        listView.setFastScrollEnabled(true);
        listView.setDividerHeight(0);
 
        getListAdapter() 
                .addHeader(activity.getLayoutInflater()
                        .inflate(R.layout.checkins_list_item_labels, null));
    } 
 
    @Override 
    LogoutService getLogoutService() { 
        return logoutService;
    } 
 
6
CodeRank
This code example shows how to use the following methods:setFastScrollEnabled
		startActivity((new Intent(getActivity(),PackageManagerActivity.class)).putExtra("command","info").putExtra("package",((TextView)v.findViewById(R.id.package_name)).getText()));
	} 
	@Override 
	public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {
		ListView l = getListView();
		l.setFastScrollEnabled(false);
		adapter.swapCursor(cursor);
		indexer.setCursor(cursor);
		if(isResumed()) setListShown(true); 
		else setListShownNoAnimation(true); 
		l.setFastScrollEnabled(true);
	} 
	@Override 
	public void onLoaderReset(Loader<Cursor> loader) {
		adapter.swapCursor(null);
		indexer.setCursor(null);
	} 
} 
6
CodeRank
This code example shows how to use the following methods:setFastScrollEnabled, setDividerHeight
        setEmptyText(R.string.no_repository); 
    } 
 
    @Override 
    protected void configureList(Activity activity, ListView listView) {
        super.configureList(activity, listView);
 
        listView.setFastScrollEnabled(true);
        listView.setDividerHeight(0);
    } 
 
    @Override 
    public Loader<List<Repository>> onCreateLoader(int id, Bundle args) {
        final List<Repository> initialItems = items;
        return new ThrowableLoader<List<Repository>>(getActivity(), items) {
            @Override 
            public List<Repository> loadData() throws Exception {
 
                try { 
                    List<Repository> latest = serviceProvider.getService().getRepositories();
6
CodeRank
This code example shows how to use the following methods:setPadding, setFastScrollEnabled, setAdapter, setColumnWidth, setHorizontalSpacing
This code example shows how to use the following methods:setPadding, setFastScrollEnabled, setAdapter, setColumnWidth, setHorizontalSpacing
This code example shows how to use the following methods:setPadding, setFastScrollEnabled, setAdapter, setColumnWidth, setHorizontalSpacing
This code example shows how to use the following methods:setPadding, setFastScrollEnabled, setAdapter, setColumnWidth, setHorizontalSpacing

Related AbsListView setFastScrollEnabled Questions & Answers:

setFastScrollEnabled Method Overview
Specifies whether fast scrolling is enabled or disabled.
See Code Examples for other Android AbsListView Methods: