レイアウトのInflateを忘れていたので追加

This commit is contained in:
r-ca 2023-12-18 01:48:17 +09:00
parent 56eecb45e4
commit d714aef47f
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -1,5 +1,6 @@
package one.nem.lacerta.feature.debug.common.adapter; package one.nem.lacerta.feature.debug.common.adapter;
import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.widget.TextView; import android.widget.TextView;
@ -24,7 +25,8 @@ public class DebugMenuDocumentListItemAdapter extends RecyclerView.Adapter<Debug
@NonNull @NonNull
@Override @Override
public DebugMenuDocumentListItemAdapter.DebugMenuDocumentListItemViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { public DebugMenuDocumentListItemAdapter.DebugMenuDocumentListItemViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
return null; View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.list_item_debug_menu_document, parent, false);
return new DebugMenuDocumentListItemViewHolder(view);
} }
@Override @Override