Views are blinking if call visible twice
Kolyall opened this issue · 3 comments
Kolyall commented
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 commented
your view was Invisible ? or alpha 0 ?
Kolyall commented
at start it was set to
new ExpectAnim()
.expect(mPlayerMediaView)
.toBe(
Expectations.invisible()
)
florent37 commented
and then you launch exec twice ?