Lines Matching defs:value
43 * is invoked. If the returned value is true, binding has occurred.
44 * If the returned value is false, the following views are then tried in order:
46 * <li> A view that implements Checkable (e.g. CheckBox). The expected bind value is a boolean.
47 * <li> TextView. The expected bind value is a string and {@link #setViewText(TextView, String)}
49 * <li> ImageView. The expected bind value is a resource id or a string and
271 * @param value the value retrieved from the data set
275 public void setViewImage(ImageView v, int value) {
276 v.setImageResource(value);
284 * By default, the value will be treated as an image resource. If the
285 * value cannot be used as an image resource, the value is used as an
292 * @param value the value retrieved from the data set
296 public void setViewImage(ImageView v, String value) {
298 v.setImageResource(Integer.parseInt(value));
300 v.setImageURI(Uri.parse(value));