Example usage for android.widget SimpleCursorAdapter.ViewBinder interface-usage

List of usage examples for android.widget SimpleCursorAdapter.ViewBinder interface-usage

Introduction

In this page you can find the example usage for android.widget SimpleCursorAdapter.ViewBinder interface-usage.

Usage

From source file com.pindroid.listadapter.BookmarkViewBinder.java

public class BookmarkViewBinder implements SimpleCursorAdapter.ViewBinder {

    public boolean setViewValue(View v, Cursor c, int columnIndex) {
        switch (v.getId()) {
        case R.id.bookmark_description:
        case R.id.bookmark_feed_description:

From source file com.deliciousdroid.listadapter.BookmarkViewBinder.java

public class BookmarkViewBinder implements SimpleCursorAdapter.ViewBinder {

    public boolean setViewValue(View v, Cursor c, int columnIndex) {
        switch (v.getId()) {
        case R.id.bookmark_description:
            ((TextView) v).setText(c.getString(columnIndex));

From source file de.escoand.readdaily.ListDialogFragment.java

public class ListDialogFragment extends DialogFragment
        implements SimpleCursorAdapter.ViewBinder, DialogInterface.OnClickListener {
    private String title = null;
    private String condition = null;
    private String[] values = null;
    private String order = Database.COLUMN_GROUP;

From source file de.escoand.readdaily.AbstractContentFragment.java

public abstract class AbstractContentFragment extends DialogFragment
        implements OnDateSelectedListener, SimpleCursorAdapter.ViewBinder {
    private static final String STATE_DATE = "date";

    protected int layout = R.layout.item_content;
    protected String[] from = new String[] { Database.COLUMN_TITLE, Database.COLUMN_TEXT, Database.COLUMN_SOURCE };

From source file org.que.activities.fragments.CalendarBookedFragment.java

/**
 * The child fragment is no different than any other fragment other than it is now being maintained by
 * a child FragmentManager.
 */
public class CalendarBookedFragment extends ListFragment
        implements LoaderManager.LoaderCallbacks<Cursor>, SimpleCursorAdapter.ViewBinder {

From source file com.google.android.demos.rss.app.ChannelActivity.java

public class ChannelActivity extends FragmentActivity implements LoaderManager.LoaderCallbacks<Cursor>,
        SimpleCursorAdapter.ViewBinder, AdapterView.OnItemClickListener, View.OnClickListener {

    private static final String DEFAULT_CHANNEL = "http://feeds.digg.com/digg/popular.rss";

    private static final int MENU_GROUP_INTENT_OPTIONS = 1;

From source file com.jaspersoft.android.jaspermobile.activities.profile.fragment.ServersFragment.java

/**
 * @author Tom Koptel
 * @since 1.9
 */
@EFragment
@OptionsMenu(R.menu.servers_menu)