public class

SliceAdapter.SliceViewHolder

extends RecyclerView.ViewHolder

 java.lang.Object

androidx.recyclerview.widget.RecyclerView.ViewHolder

↳androidx.slice.widget.SliceAdapter.SliceViewHolder

Overview

A for presenting slices in SliceAdapter.

Summary

Fields
public final SliceChildViewmSliceChildView

from RecyclerView.ViewHolderitemView
Constructors
publicSliceViewHolder(View itemView)

Methods
public voidonClick(View v)

public booleanonTouch(View v, MotionEvent event)

from RecyclerView.ViewHoldergetAbsoluteAdapterPosition, getAdapterPosition, getBindingAdapter, getBindingAdapterPosition, getItemId, getItemViewType, getLayoutPosition, getOldPosition, getPosition, isRecyclable, setIsRecyclable, toString
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Fields

public final SliceChildView mSliceChildView

Constructors

public SliceViewHolder(View itemView)

Methods

public void onClick(View v)

public boolean onTouch(View v, MotionEvent event)