ファイル移動

This commit is contained in:
r-ca 2024-01-20 15:14:16 +09:00
parent 72933fd45b
commit 17dc90162b
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -1,6 +1,5 @@
package one.nem.lacerta.feature.home; package one.nem.lacerta.feature.home;
import android.media.Image;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
@ -25,7 +24,7 @@ public class ListItemAdapter extends RecyclerView.Adapter<ListItemAdapter.ListIt
@NonNull @NonNull
@Override @Override
public ListItemAdapter.ListItemViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { public ListItemAdapter.ListItemViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
View view = LayoutInflater.from(parent.getContext()).inflate(one.nem.lacerta.component.common.R.layout.common_library_list_item, parent, false); View view = LayoutInflater.from(parent.getContext()).inflate(one.nem.lacerta.shared.ui.R.layout.common_list_item, parent, false);
return new ListItemViewHolder(view); return new ListItemViewHolder(view);
} }
@ -51,9 +50,9 @@ public class ListItemAdapter extends RecyclerView.Adapter<ListItemAdapter.ListIt
public ListItemViewHolder(@NonNull View itemView) { public ListItemViewHolder(@NonNull View itemView) {
super(itemView); super(itemView);
icon = itemView.findViewById(one.nem.lacerta.component.common.R.id.item_icon); icon = itemView.findViewById(one.nem.lacerta.shared.ui.R.id.item_icon);
title = itemView.findViewById(one.nem.lacerta.component.common.R.id.item_title); title = itemView.findViewById(one.nem.lacerta.shared.ui.R.id.item_title);
description = itemView.findViewById(one.nem.lacerta.component.common.R.id.item_description); description = itemView.findViewById(one.nem.lacerta.shared.ui.R.id.item_description);
} }
} }
} }