Lines Matching refs:view
20 import android.view.View;
46 public static void setBoth(TextView view, MultiBindingClass1 class1,
48 view.setText(join(class1, class2));
52 public static void setBoth(TextView view, String str1,
54 view.setText(join(str1, str2));
58 public static void setClass1(TextView view, MultiBindingClass1 class1) {
59 view.setText(class1.getValue());
63 public static void setClassStr(TextView view, String str) {
64 view.setText(str);
68 public static void setClass2(TextView view, MultiBindingClass2 class2) {
69 view.setText(class2.getValue());
73 public static void setWithOldValue(TextView view, String oldValue, String newValue) {
74 view.setText(String.format("%s -> %s", oldValue, newValue));
78 public static void set2WithOldValues(TextView view, String oldValue1, String oldValue2,
80 view.setText(String.format("%s, %s -> %s, %s", oldValue1, oldValue2, newValue1, newValue2));