Search in sources :

Example 1 with PictureChooserBottomSheetFragment

use of vision.genesis.clientapp.feature.common.picture_chooser.PictureChooserBottomSheetFragment in project android-client by GenesisVision.

the class CreatePostActivity method showPictureChooser.

@NeedsPermission({ Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.READ_EXTERNAL_STORAGE })
void showPictureChooser() {
    PictureChooserBottomSheetFragment bottomSheetDialog = new PictureChooserBottomSheetFragment();
    bottomSheetDialog.setListener(presenter);
    bottomSheetDialog.show(getSupportFragmentManager(), bottomSheetDialog.getTag());
}
Also used : PictureChooserBottomSheetFragment(vision.genesis.clientapp.feature.common.picture_chooser.PictureChooserBottomSheetFragment) NeedsPermission(permissions.dispatcher.NeedsPermission)

Example 2 with PictureChooserBottomSheetFragment

use of vision.genesis.clientapp.feature.common.picture_chooser.PictureChooserBottomSheetFragment in project android-client by GenesisVision.

the class PublicInfoFragment method showPictureChooser.

@NeedsPermission({ Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.READ_EXTERNAL_STORAGE })
void showPictureChooser() {
    PictureChooserBottomSheetFragment bottomSheetDialog = new PictureChooserBottomSheetFragment();
    bottomSheetDialog.setListener(presenter);
    bottomSheetDialog.show(getChildFragmentManager(), bottomSheetDialog.getTag());
}
Also used : PictureChooserBottomSheetFragment(vision.genesis.clientapp.feature.common.picture_chooser.PictureChooserBottomSheetFragment) NeedsPermission(permissions.dispatcher.NeedsPermission)

Example 3 with PictureChooserBottomSheetFragment

use of vision.genesis.clientapp.feature.common.picture_chooser.PictureChooserBottomSheetFragment in project android-client by GenesisVision.

the class PostDetailsActivity method showPictureChooser.

@NeedsPermission({ Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.READ_EXTERNAL_STORAGE })
void showPictureChooser() {
    PictureChooserBottomSheetFragment bottomSheetDialog = new PictureChooserBottomSheetFragment();
    bottomSheetDialog.setListener(presenter);
    bottomSheetDialog.show(getSupportFragmentManager(), bottomSheetDialog.getTag());
}
Also used : PictureChooserBottomSheetFragment(vision.genesis.clientapp.feature.common.picture_chooser.PictureChooserBottomSheetFragment) NeedsPermission(permissions.dispatcher.NeedsPermission)

Example 4 with PictureChooserBottomSheetFragment

use of vision.genesis.clientapp.feature.common.picture_chooser.PictureChooserBottomSheetFragment in project android-client by GenesisVision.

the class ProfilePublicInfoActivity method showPictureChooser.

@NeedsPermission({ Manifest.permission.WRITE_EXTERNAL_STORAGE, Manifest.permission.READ_EXTERNAL_STORAGE })
void showPictureChooser() {
    PictureChooserBottomSheetFragment bottomSheetDialog = new PictureChooserBottomSheetFragment();
    bottomSheetDialog.setListener(presenter);
    bottomSheetDialog.show(getSupportFragmentManager(), bottomSheetDialog.getTag());
}
Also used : PictureChooserBottomSheetFragment(vision.genesis.clientapp.feature.common.picture_chooser.PictureChooserBottomSheetFragment) NeedsPermission(permissions.dispatcher.NeedsPermission)

Aggregations

NeedsPermission (permissions.dispatcher.NeedsPermission)4 PictureChooserBottomSheetFragment (vision.genesis.clientapp.feature.common.picture_chooser.PictureChooserBottomSheetFragment)4