Example #1
0
 /* (non-Javadoc)
  * calls {@link #convText for formatting the values retrieved from the cursor}
  * @see android.widget.SimpleCursorAdapter#setViewText(android.widget.TextView, java.lang.String)
  */
 @Override
 public void setViewText(TextView v, String text) {
   switch (v.getId()) {
     case R.id.date:
       text = Utils.convDateTime(text, itemDateFormat);
       break;
     case R.id.amount:
       text = Utils.convAmount(text, mAccount.currency);
   }
   super.setViewText(v, text);
 }