From b13f048c7e8dea21b8e6b1a5aabf44d580c519e8 Mon Sep 17 00:00:00 2001 From: r-ca Date: Tue, 23 Jan 2024 01:15:46 +0900 Subject: [PATCH] =?UTF-8?q?Adapter=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lacerta/feature/library/RevAdapter.java | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 feature/library/src/main/java/one/nem/lacerta/feature/library/RevAdapter.java diff --git a/feature/library/src/main/java/one/nem/lacerta/feature/library/RevAdapter.java b/feature/library/src/main/java/one/nem/lacerta/feature/library/RevAdapter.java new file mode 100644 index 00000000..589c157c --- /dev/null +++ b/feature/library/src/main/java/one/nem/lacerta/feature/library/RevAdapter.java @@ -0,0 +1,51 @@ +package one.nem.lacerta.feature.library; + +import android.view.View; +import android.view.ViewGroup; + +import androidx.annotation.NonNull; +import androidx.recyclerview.widget.RecyclerView; + +import java.util.ArrayList; + +import one.nem.lacerta.model.VcsRevModel; + +public class RevAdapter extends RecyclerView.Adapter{ + + private ArrayList revModels; + + public RevAdapter(ArrayList revModels) { + this.revModels = revModels; + } + + public RevAdapter() { + } + + public void setRevModels(ArrayList revModels) { + this.revModels = revModels; + } + + + @NonNull + @Override + public RevAdapter.RevViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { + return null; + } + + @Override + public void onBindViewHolder(@NonNull RevAdapter.RevViewHolder holder, int position) { + + } + + @Override + public int getItemCount() { + return 0; + } + + class RevViewHolder extends RecyclerView.ViewHolder { + + public RevViewHolder(@NonNull View itemView) { + super(itemView); + } + } +}