Skip to content

Commit 8fa944a

Browse files
committed
Mark view holder as public
There was a question about it here: #11.
1 parent b054219 commit 8fa944a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ If we use the same layout as before (`android.R.layout.two_line_list_item`), the
424424
We can wrap that in a ViewHolder with:
425425

426426
```java
427-
private static class ChatMessageViewHolder extends RecyclerView.ViewHolder {
427+
public static class ChatMessageViewHolder extends RecyclerView.ViewHolder {
428428
TextView messageText;
429429
TextView nameText;
430430

0 commit comments

Comments
 (0)