Search in sources :

Example 1 with ImageUploadActionItem

use of chat.rocket.android.layouthelper.extra_action.upload.ImageUploadActionItem in project Rocket.Chat.Android by RocketChat.

the class RoomFragment method setupMessageActions.

private void setupMessageActions() {
    // fixed number as of now
    extraActionItems = new ArrayList<>(3);
    extraActionItems.add(new ImageUploadActionItem());
    extraActionItems.add(new AudioUploadActionItem());
    extraActionItems.add(new VideoUploadActionItem());
}
Also used : ImageUploadActionItem(chat.rocket.android.layouthelper.extra_action.upload.ImageUploadActionItem) AudioUploadActionItem(chat.rocket.android.layouthelper.extra_action.upload.AudioUploadActionItem) VideoUploadActionItem(chat.rocket.android.layouthelper.extra_action.upload.VideoUploadActionItem)

Aggregations

AudioUploadActionItem (chat.rocket.android.layouthelper.extra_action.upload.AudioUploadActionItem)1 ImageUploadActionItem (chat.rocket.android.layouthelper.extra_action.upload.ImageUploadActionItem)1 VideoUploadActionItem (chat.rocket.android.layouthelper.extra_action.upload.VideoUploadActionItem)1