kyleduo / kyleduo/SwitchButton

若要添加enabling与disabling状态, 有哪些实现方式?

Open
#131 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.7k
Forks
864
PR merge metrics
No merged PRs in 30d

Description

比如某个功能的开关极为耗时, 虽然UI显示已开启, 但功能会慢很多才启动,
一般我会做防连点处理, 防止启动过程中用户又去关闭(避免状态混乱),
不过感觉这样并不优雅

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 issue does not name a file, test, or entry point. First inspect the existing SwitchButton state flow and clarify the desired enabling/disabling behavior, including completion and cancellation semantics; done requires an agreed design and corresponding acceptance criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.