public class

InitialsAvatarAdapter

extends Object
implements AvatarAdapter
java.lang.Object
   ↳ com.pdftron.collab.ui.reply.bottomsheet.view.InitialsAvatarAdapter

Class Overview

A AvatarAdapter that displays a circle and user initials styled avatar.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<InitialsAvatarAdapter> CREATOR
Public Constructors
InitialsAvatarAdapter()
Public Methods
int describeContents()
void onBindAvatar(FrameLayout avatarContainer, ReplyMessage replyMessage)
Binds data to the avatar icon views.
void onInflateAvatar(FrameLayout avatarContainer)
Inflates a avatar icon into the containing FrameLayout
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable
From interface com.pdftron.collab.ui.reply.bottomsheet.view.AvatarAdapter

Fields

public static final Creator<InitialsAvatarAdapter> CREATOR

Public Constructors

public InitialsAvatarAdapter ()

Public Methods

public int describeContents ()

public void onBindAvatar (FrameLayout avatarContainer, ReplyMessage replyMessage)

Binds data to the avatar icon views.

Parameters
avatarContainer root view group containing the previously inflated avatar icon view.
replyMessage data for the message item

public void onInflateAvatar (FrameLayout avatarContainer)

Inflates a avatar icon into the containing FrameLayout

Parameters
avatarContainer FrameLayout to inflate avatar icon view.

public void writeToParcel (Parcel dest, int flags)