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

Redrawing the view #4

Closed
PGMacDesign opened this issue Mar 17, 2016 · 4 comments
Closed

Redrawing the view #4

PGMacDesign opened this issue Mar 17, 2016 · 4 comments

Comments

@PGMacDesign
Copy link
Contributor

Hey guys, not a bug, but a Question, After the view gets obliterated via the call to startAnimation(), how do I go about redrawing it or making the view visible again? My goal is to have the ImageView disappear (shatter) using the animation, and then have it come back into view with a new image.
Thanks for the help and the awesome project guys! It's really well done!

@defHLT defHLT closed this as completed in da9505c Mar 21, 2016
@PGMacDesign
Copy link
Contributor Author

So.... can this not be done then? I assume not since this was closed without any more info...

@defHLT
Copy link
Contributor

defHLT commented Mar 21, 2016

Hi,
It was auto closed by the commit message.
Please check new version 0.1.1. It might take some time for maven repository to update.
Then you may try to add your view after animation has ended:

    @Override
    public void onAnimationFinished() {
        mTilesFrameLayout.addView(view, 0);
    }

view can be newly inflated view or the same view that was inside of TilesFrameLayout initially.
Let me know how that works for you.
Thanks for your feedback, I'm glad you enjoy the lib :)

@defHLT defHLT reopened this Mar 21, 2016
@PGMacDesign
Copy link
Contributor Author

Ah excellent, thank you mlatu, I will test in the morning. And love the library! You guys at Yalantis always have some of the best stuff around!

@PGMacDesign
Copy link
Contributor Author

Works perfect. Thanks again guys.

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

No branches or pull requests

2 participants