Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: be able to transition from a focus to another by translating the focus shape. #196

Open
glureau-betclic opened this issue Jul 10, 2020 · 3 comments

Comments

@glureau-betclic
Copy link

Currently when using the library with multiple focus, I have the circular effect.
Sometimes I'd just have the focused zone than translate to the next focus point.
Could we imagine a transition from the previous to the next focus? (while fade in/out the 2 custom views)

@faruktoptas
Copy link
Owner

You can chain multiple instances with FancyShowCaseQueue and set custom enter/exit animations. Does it solve your problem?

@glureau-betclic
Copy link
Author

Not exactly. I'd have a translation of the erasePaint rectangle between each steps. Like if the rectangle was moving from one focus to another, to avoid the circleOut/circleIn effect that is a bit too brutal in my case.

@glureau-betclic glureau-betclic changed the title Feature request: be able to transition from a focus to another Feature request: be able to transition from a focus to another by translating the focus shape. Jul 15, 2020
@faruktoptas
Copy link
Owner

I understand. I tried to do it with a different implementation of FancyShowcaseQueue but there was another problem I faced with. Each instance is a view and should be detached/re-attached. There is still a flickering during transitions.
I'm thinking about another solution. One instance with multiple targets. FancyImageView should change the focus target dynamically. This is also not easy. Because a focus has too many parameters. All parameters need to be same for all targets. There will be more questions during the implementation.
I would love to help you if you want to make contribution to add this feature :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants