TwoLineItemViewHolder

public class TwoLineItemViewHolder
extends SingleLineItemViewHolder

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


A simple two line list item.

Summary

Fields

public final TextView secondary

Inherited fields

Public constructors

TwoLineItemViewHolder(View view)

Public methods

static TwoLineItemViewHolder create(ViewGroup parent)

Inherited methods

Fields

secondary

public final TextView secondary

Public constructors

TwoLineItemViewHolder

public TwoLineItemViewHolder (View view)

Parameters
view View

Public methods

create

public static TwoLineItemViewHolder create (ViewGroup parent)

Parameters
parent ViewGroup

Returns
TwoLineItemViewHolder