sharedelementcallback

Slide image with recyclerview in full screen android

二次信任 提交于 2021-01-28 04:57:14
问题 I have create wallpaper app where I'm loading images from firebase database in recyclerview. When I click on recyclerview item(image) that item's image url sent to next activity and then that url loaded into imageView using glide. Now I want to change this to something like Image-Slider. By clicking on recyclerView item I want to show that image in full screen and also want to slide from left or right(next or previous).But I don't know how to do that. Here is my code. recyclerView

ViewPager Fragments – Shared Element Transitions

不想你离开。 提交于 2019-11-27 00:07:15
问题 An app I'm developing displays a grid of images. When you tap an image, it goes into the details view. The details view contains a ViewPager that allows you swipe between every image in the grid. This is done by passing a lists of paths (containing every image in the grid), along with an offset of the image that was tapped so the ViewPager can be set to show that page initially. What's the best way to have a shared element transition inside the Fragment of the current offset page in the