Class AttachmentsPickerCameraTabFactory
-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.feature.messages.composer.attachment.picker.factory.AttachmentsPickerTabFactory
public final class AttachmentsPickerCameraTabFactory implements AttachmentsPickerTabFactory
A factory responsible for creating camera attachments tab in the attachments picker.
-
-
Constructor Summary
Constructors Constructor Description AttachmentsPickerCameraTabFactory()
-
Method Summary
Modifier and Type Method Description DrawablecreateTabIcon(AttachmentsPickerDialogStyle style)Creates an icon for camera attachments tab. FragmentcreateTabFragment(AttachmentsPickerDialogStyle style, AttachmentsPickerTabListener attachmentsPickerTabListener)Provides a new Fragment associated with this camera attachments tab. -
-
Method Detail
-
createTabIcon
Drawable createTabIcon(AttachmentsPickerDialogStyle style)
Creates an icon for camera attachments tab.
- Parameters:
style- The style for the attachment picker dialog.- Returns:
The Drawable used as the teb icon.
-
createTabFragment
Fragment createTabFragment(AttachmentsPickerDialogStyle style, AttachmentsPickerTabListener attachmentsPickerTabListener)
Provides a new Fragment associated with this camera attachments 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.
-
-
-
-