baseContext 동작안함
네 거기까지 진행하고 Import 했습니다 그래도 오류 나타납니다 아래는 RvAdpter 코드입니다감사합니다..package com.nadeukcha.horse import android.content.Context import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView import androidx.appcompat.view.menu.MenuView.ItemView import androidx.recyclerview.widget.DividerItemDecoration import androidx.recyclerview.widget.RecyclerView import com.bumptech.glide.Glide class RvAdapter (val context : Context, val items : MutableList) : RecyclerView.Adapter(){ override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RvAdapter.ViewHolder { val view = LayoutInflater.from(parent.context).inflate(R.layout.rv_item, parent, false) return ViewHolder(view) } // View에 내용 입력 override fun onBindViewHolder(holder: RvAdapter.ViewHolder, position: Int) { holder.bindItems(items[position]) // 간격 설정 val layoutParams = holder.itemView.layoutParams layoutParams.height = 200 holder.itemView.requestLayout() } override fun getItemCount(): Int { return items.size } inner class ViewHolder(itemView : View) : RecyclerView.ViewHolder(itemView) { fun bindItems(item : RacehorseModel) { val rv_text = itemView.findViewById(R.id.rvRaceHorse) val rv_img = itemView.findViewById(R.id.RaceHorseList) rv_text.text = item.horseName Glide.with(context) // val rv_text = itemView.findViewById(R.id.rvRaceHorse) // rv_text.text = item } } }