mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
空っぽのコンストラクタなどを追加
This commit is contained in:
parent
84ac06d5df
commit
e3421d6ce4
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user