Skip to content

Improve encapsulation of ViewHolder classes

Each BriarAdapter subclass has its own subclass of RecyclerView.ViewHolder. Some of these ViewHolder classes have public fields. Improve the encapsulation of these classes, either by adding accessor methods or by moving the code that accesses the fields into the respective classes.