0

I tought it would be something like this:

Cursor c = contactDBHelper.listOne(id);
    Cursor d = contactDBHelper.listOneText();

    if(c.moveToFirst()){
        do{
            if(c.getString(5).toString() == d.getString(1).toString()){
                txt.setText(d.getString(1));

            }else{
                customR.setChecked(true);
                txt.setText(c.getString(5));    
                standardR.setChecked(false);
            }


        }while(c.moveToNext());
    }

But apperently its not. Anyone got any tips on how to accomplish this?

The Dude
  • 1,088
  • 7
  • 16
  • 30

0 Answers0