Code example for Cursor

Methods: requery

0
   
  class DialogWrapper { 
    EditText titleField=null;
    EditText valueField=null;
    View base=null;
     
    DialogWrapper(View base) {
      this.base=base;
      valueField=(EditText)base.findViewById(R.id.value);
    } 
     
    String getTitle() {
      return(getTitleField().getText().toString());
    } 
     
    float getValue() { 
      return(new Float(getValueField().getText().toString())
                                                  .floatValue());
    } 
     
    private EditText getTitleField() {