Baseflow / Baseflow/PhotoView

Need help on saving/restoring state

Open
#374 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
18.8k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Description

I have a PhotoView in Fragment, and I want to go from this fragment to another. Then, on back, I need restore state of PhotoView (with scale and transition). What is the best way to do this? Setting scale works good, but I can't set proper transition. I also tried to set imageMatrix and image looks well, but after any touch it goes to scale 1.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.