空っぽのコンストラクタなどを追加

This commit is contained in:
r-ca 2023-12-17 13:31:50 +09:00
parent 84ac06d5df
commit e3421d6ce4
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -19,6 +19,18 @@ public class DebugDocumentMenuAdapter extends RecyclerView.Adapter<DebugDocument
public DebugDocumentMenuAdapter(List<SettingMenuItem> menuItems) { public DebugDocumentMenuAdapter(List<SettingMenuItem> menuItems) {
this.menuItems = menuItems; this.menuItems = menuItems;
} }
public DebugDocumentMenuAdapter() {
// Empty constructor
}
public void addMenuItem(SettingMenuItem menuItem) {
this.menuItems.add(menuItem);
}
public void setMenuItems(List<SettingMenuItem> menuItems) {
this.menuItems = menuItems;
}
@NonNull @NonNull
@Override @Override
public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {