openGalleryPreviewFragment

private fun openGalleryPreviewFragment(firstImage: File?, secondImage: File?, withTransition: Boolean = true)

Opens GalleryPreviewFragment in R.id.gallery_fragment_body_layout.

Parameters

firstImage

First image to be shown in the image carousel (= cropped screenshot)

secondImage

Second image to be shown in the image carousel (= full screenshot)

withTransition

Whether a transition animation should be played or not