Adapter used to render attachments.
Returns the number of attachment items.
Sets the list of attachments to be displayed.