Skip to content

Commit 57a4b19

Browse files
committed
修复设置初始值回调问题bug
1 parent db6c155 commit 57a4b19

File tree

31 files changed

+5
-4
lines changed

31 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ proguard/
3030
*.iws
3131
.idea/
3232
.metadata/
33+
.gradle/

.gradle/2.10/taskArtifacts/cache.properties

Lines changed: 0 additions & 1 deletion
This file was deleted.
-17 Bytes
Binary file not shown.
-906 KB
Binary file not shown.
-7.89 MB
Binary file not shown.
-30.1 KB
Binary file not shown.
-287 KB
Binary file not shown.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
####EditText的撤销和恢复撤销操作
44
#####使用
55
* 引入库
6-
* compile 'ren.qinc.edit:lib:0.0.2'
6+
* compile 'ren.qinc.edit:lib:0.0.3'
77
* 初始化
88

99
```java

gradle/push.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//参考http://www.jianshu.com/p/0ba8960f80a9
22
apply plugin: 'com.github.dcendents.android-maven'
33
apply plugin: 'com.jfrog.bintray'
4-
version = "0.0.2"
4+
version = "0.0.3"
55

66
def siteUrl = 'https://github.com/qinci/AndroidEdit' // 项目的主页
77
def gitUrl = 'https://github.com/qinci/AndroidEdit.git' // Git仓库的url

lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ android {
77
minSdkVersion 9
88
targetSdkVersion 23
99
versionCode 2
10-
versionName "1.1"
10+
versionName "1.2"
1111
}
1212
buildTypes {
1313
release {

lib/src/main/java/ren/qinc/edit/PerformEdit.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ public final void onTextChanged(CharSequence s, int start, int before, int count
174174

175175
@Override
176176
public final void afterTextChanged(Editable s) {
177+
if (flag) return;
177178
if (s != editable) {
178179
editable = s;
179180
onEditableChanged(s);

0 commit comments

Comments
 (0)