TeamNewPipe/NewPipe

Standardize view animation duration

Open

#3038 aperta il 30 gen 2020

Vedi su GitHub
 (11 commenti) (3 reazioni) (0 assegnatari)Java (3577 fork)batch import
GUIfeature requestgood first issue

Metriche repository

Star
 (38.153 star)
Metriche merge PR
 (Merge medio 9g 17h) (17 PR mergiate in 30 g)

Descrizione

If you check the usages of animateView you will see that the typical range will be 0 all the way to 500, with most in the 100-250 range.

It should've been done with a default value in the first place. It is pretty much arbitrary right now, it was whatever the person felt like at the time of writing.

I'll leave this task to another PR, which the goal will be to standardize the used duration of animations.

_Originally posted by @mauriciocolli in https://github.com/TeamNewPipe/NewPipe/pull/2309#discussion_r371625549

Guida contributor