Example usage for android.support.v4.widget CursorAdapter bindView

List of usage examples for android.support.v4.widget CursorAdapter bindView

Introduction

In this page you can find the example usage for android.support.v4.widget CursorAdapter bindView.

Prototype

public abstract void bindView(View view, Context context, Cursor cursor);

Source Link

Document

Bind an existing view to the data pointed to by cursor

Usage

From source file:io.pivotal.arca.fragments.ArcaItemSupportFragment.java

public void bindViewAtPosition(final int position) {
    final CursorAdapter adapter = getCursorAdapter();
    final Cursor cursor = adapter.getCursor();
    if (cursor != null && cursor.moveToPosition(position)) {
        adapter.bindView(getView(), getActivity(), cursor);
    }//  w w  w.j  a  va2  s .  co m
}