TeamNewPipe/NewPipe

Standardize view animation duration

开放

#3,038 创建于 2020年1月30日

 (11 条评论) (3 个反应) (0 位负责人)Java (3,577 个派生)batch import
GUIfeature requestgood first issue

仓库指标

星标
 (38,153 个星标)
PR 合并指标
 (平均合并 9天 17小时) (30 天内合并 17 个 PR)

描述

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

贡献者指南