Tencent / Tencent/libpag

请教个问题,PagView.setRepeatCount(0)是可以无线循环播放吗

Open
#2,353 1 comment 0 reactions 1 assignee View on GitHub

@kevingpqi123 is already working on this.

Since Jun 28, 2024.

Dominant language
HTML
Stars
5.8k
Forks
531
Avg merge
8d 55m
Merged PRs (30d)
17

Description

image
我看最后实际是调用了valueanimator的setRepeatCount
理论上设置0,不应该无效吗,但实际是确实有无线循环的效果
image

不知道为什么,但隐隐担心有些风险,所以特地来问下

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.