public class ContentCardViewHolder
extends RecyclerView.ViewHolder
Constructor and Description |
---|
ContentCardViewHolder(android.view.View view,
boolean showUnreadIndicator) |
Modifier and Type | Method and Description |
---|---|
void |
setActionHintText(java.lang.String text)
Sets the action hint text.
|
void |
setActionHintVisible(boolean isVisible)
Sets the action hint to
View.VISIBLE when true, or View.GONE otherwise. |
void |
setPinnedIconVisible(boolean isVisible)
Sets the pinned icon to
View.VISIBLE when true, or View.GONE otherwise. |
void |
setUnreadBarVisible(boolean isVisible)
Sets the unread bar to
View.VISIBLE when true, or View.GONE otherwise. |
public ContentCardViewHolder(android.view.View view, boolean showUnreadIndicator)
public void setPinnedIconVisible(boolean isVisible)
View.VISIBLE
when true, or View.GONE
otherwise.isVisible
- Should the pinned icon be visible on the card.public void setUnreadBarVisible(boolean isVisible)
View.VISIBLE
when true, or View.GONE
otherwise.isVisible
- Should the unread bar be visible on the card.public void setActionHintVisible(boolean isVisible)
View.VISIBLE
when true, or View.GONE
otherwise.isVisible
- Should the action hint be visible on the card.public void setActionHintText(java.lang.String text)