You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made this suggestion to Arthur in the office the other day. I was referencing snippets of the sample when writing something up and the reuse of the ViewHolder class name doubled the explanation length. Referencing CustomViewHolder as a class would have been much more concise and I believe it makes the snippets more readable when viewed in isolation. Just a suggestion.
Use CostomViewHolder instead of ViewHolder for custom View Holder.
https://github.com/googlesamples/android-RecyclerView/blob/master/Application/src/main/java/com/example/android/recyclerview/CustomAdapter.java#L39
The text was updated successfully, but these errors were encountered: