mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
Setter, コンストラクタ追加
This commit is contained in:
parent
0accd4fa79
commit
5cc718e35d
|
@ -21,6 +21,14 @@ public class ViewerBodyAdapter extends RecyclerView.Adapter<ViewerBodyAdapter.Vi
|
||||||
this.pages = pages;
|
this.pages = pages;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ViewerBodyAdapter(){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPages(ArrayList<Page> pages){
|
||||||
|
this.pages = pages;
|
||||||
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
@Override
|
@Override
|
||||||
public ViewerBodyAdapter.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
|
public ViewerBodyAdapter.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user