Interface AttachmentsPickerTabFactory
-
- All Implemented Interfaces:
public interface AttachmentsPickerTabFactoryA factory responsible for creating attachments picker tabs.
-
-
Method Summary
Modifier and Type Method Description abstract DrawablecreateTabIcon(AttachmentsPickerDialogStyle style)Creates an icon for the tab. abstract FragmentcreateTabFragment(AttachmentsPickerDialogStyle style, AttachmentsPickerTabListener attachmentsPickerTabListener)Provides a new Fragment associated with this attachments picker tab. -
-
Method Detail
-
createTabIcon
abstract Drawable createTabIcon(AttachmentsPickerDialogStyle style)
Creates an icon for the tab.
- Parameters:
style- The style for the attachment picker dialog.- Returns:
The Drawable used as the teb icon.
-
createTabFragment
abstract Fragment createTabFragment(AttachmentsPickerDialogStyle style, AttachmentsPickerTabListener attachmentsPickerTabListener)
Provides a new Fragment associated with this attachments picker tab.
- Parameters:
style- The style for the attachment picker dialog.attachmentsPickerTabListener- The listener invoked when attachments are selected in the tab.- Returns:
A new content Fragment for the tab.
-
-
-
-