Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Views are blinking if call visible twice #26

Open
Kolyall opened this issue May 25, 2017 · 3 comments
Open

Views are blinking if call visible twice #26

Kolyall opened this issue May 25, 2017 · 3 comments

Comments

@Kolyall
Copy link

Kolyall commented May 25, 2017

for example:

public void exec(){
new ExpectAnim()
                .expect(mView)
                .toBe(
                       .visible()
                ).toAnimation().setNow();
}

if you call exec() twice view will be blinking

exec();
exec();

Add a check for example if (view.alpha!=100) perform animation

@florent37
Copy link
Owner

your view was Invisible ? or alpha 0 ?

@Kolyall
Copy link
Author

Kolyall commented Jun 23, 2017

at start it was set to

  new ExpectAnim()
                .expect(mPlayerMediaView)
                .toBe(
                        Expectations.invisible()
                )

@florent37
Copy link
Owner

and then you launch exec twice ?

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

No branches or pull requests

2 participants