We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9e07e5 commit 4ad5eebCopy full SHA for 4ad5eeb
database/README.md
@@ -237,12 +237,12 @@ public static class ChatHolder extends RecyclerView.ViewHolder {
237
}
238
239
public void setName(String name) {
240
- TextView field = (TextView) mView.findViewById(R.id.name_text);
+ TextView field = (TextView) mView.findViewById(android.R.id.text1);
241
field.setText(name);
242
243
244
public void setText(String text) {
245
- TextView field = (TextView) mView.findViewById(R.id.message_text);
+ TextView field = (TextView) mView.findViewById(android.R.id.text2);
246
field.setText(text);
247
248
0 commit comments