1
2package com.android.mail.compose;
3
4import android.view.View.OnClickListener;
5
6/**
7 * Interface for views in the compose layout that represent
8 * attachments so that the larger attachments view can set
9 * the onClickListener for the close button to remove the attachment
10 * from the draft.
11 */
12interface AttachmentDeletionInterface {
13    /**
14     * Sets the onClickListener for the close button on the attachment view.
15     * @param clickListener the listener to which the close button should be set
16     */
17    public void addDeleteListener(OnClickListener clickListener);
18}
19