proper code formatting

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2021-02-17 17:52:27 +01:00
parent 06ced09c7a
commit 39433b57f1
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
2 changed files with 10 additions and 6 deletions

View file

@ -79,9 +79,11 @@ public class RichDocumentsTemplateAdapter extends RecyclerView.Adapter<RichDocum
@Override @Override
@NextcloudServer(max = 18) // remove entire class @NextcloudServer(max = 18) // remove entire class
public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
return new RichDocumentsTemplateAdapter.ViewHolder(TemplateButtonBinding.inflate(LayoutInflater.from(parent.getContext()), return new RichDocumentsTemplateAdapter.ViewHolder(
parent, TemplateButtonBinding.inflate(LayoutInflater.from(parent.getContext()),
false)); parent,
false)
);
} }
@Override @Override

View file

@ -83,9 +83,11 @@ public class TemplateAdapter extends RecyclerView.Adapter<TemplateAdapter.ViewHo
@NonNull @NonNull
@Override @Override
public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
return new TemplateAdapter.ViewHolder(TemplateButtonBinding.inflate(LayoutInflater.from(parent.getContext()), return new TemplateAdapter.ViewHolder(
parent, TemplateButtonBinding.inflate(LayoutInflater.from(parent.getContext()),
false)); parent,
false)
);
} }
@Override @Override