hanks-zyh / hanks-zyh/LineHeightEditText

Why did you add a "addTextWatcher" method as there is already a "addTextChangedListener"

Open
#2 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
204
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Why did you add a `addTextWatcher` method as there is already a `addTextChangedListener`.

Did you consider your new added TextWatcher would be replaced if `addTextChangedListener` was called by the client?
But isn't it redundant as `addTextChangedListener` can add many TextWatchers and they are independent. And the signature of "**add**TextWatcher" confuse the users which seems it can take many TextWatchers.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.