markzhai / markzhai/AndroidPerformanceMonitor

动画过程中也会往主线程中发消息吗?

Open
#103 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
6.7k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

现在界面有一个持续的动画在执行,然后看到LooperMonitor 中的println 会不断执行。
这个println 是在MainLooper中调用的,难道动画的执行过程中也会往MainLooper 不断发消息吗?

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by tracing the LooperMonitor.println call on MainLooper while the continuous animation runs. Check the animation and message-loop entry points involved, then document whether animation frames post messages continuously and what behavior is expected. The issue is resolved when this cause is established and the observed behavior is clearly explained.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.