Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

SingleLineItemViewHolder

public class SingleLineItemViewHolder
extends RecyclerView.ViewHolder

java.lang.Object
   ↳ androidx.recyclerview.widget.RecyclerView.ViewHolder
     ↳ com.google.android.material.lists.SingleLineItemViewHolder


A simple single line list item.

Summary

Fields

public final ImageView icon

public final TextView text

Inherited fields

Public constructors

SingleLineItemViewHolder(View view)

Public methods

static SingleLineItemViewHolder create(ViewGroup parent)

Inherited methods

Fields

icon

public final ImageView icon

text

public final TextView text

Public constructors

SingleLineItemViewHolder

public SingleLineItemViewHolder (View view)

Parameters
view View

Public methods

create

public static SingleLineItemViewHolder create (ViewGroup parent)

Parameters
parent ViewGroup

Returns
SingleLineItemViewHolder