mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
proper code formatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
06ced09c7a
commit
39433b57f1
2 changed files with 10 additions and 6 deletions
|
@ -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(
|
||||||
|
TemplateButtonBinding.inflate(LayoutInflater.from(parent.getContext()),
|
||||||
parent,
|
parent,
|
||||||
false));
|
false)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -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(
|
||||||
|
TemplateButtonBinding.inflate(LayoutInflater.from(parent.getContext()),
|
||||||
parent,
|
parent,
|
||||||
false));
|
false)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue