This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public abstract class RowsAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> { | |
| // The different types of rows that make up our data table | |
| private final static List<Class<? extends Row>> types = new ArrayList<>(); | |
| private List<Row> rows; | |
| static { | |
| types.add(HeaderRow.class); | |
| types.add(DessertRow.class); | |
| } |