hehonghui / hehonghui/AndroidEventBus

关于sticky事件的移除问题

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

Nobody has claimed this yet.

Dominant language
Java
Stars
1.6k
Forks
390
PR merge metrics
No merged PRs in 30d

Description

post一条sticky事件,订阅方法执行一次,然后removeStickyEvent,退出后再post一条相同事件,订阅方法执行两次,如此依次递增,感觉像removeStickyEvent方法没有起作用,请大神指点。

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

The report involves post, subscription, and removeStickyEvent, but names no source file or test. Start by tracing those entry points and reproduce the sequence; done means removing a sticky event prevents a later identical post from invoking the subscription more than once.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.