Skip to content

Commit 1db89fe

Browse files
micaelomotamgod
authored andcommitted
fixing the 'max' bug
1 parent 3f92f90 commit 1db89fe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

library/src/main/java/com/tokenautocomplete/TokenCompleteTextView.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,4 +1619,10 @@ public boolean setComposingText(CharSequence text, int newCursorPosition) {
16191619
return super.setComposingText(text, newCursorPosition);
16201620
}
16211621
}
1622+
1623+
@Override
1624+
protected void onTextChanged(CharSequence text, int start, int lengthBefore, int lengthAfter) {
1625+
super.onTextChanged(text, start, lengthBefore, lengthAfter);
1626+
lastCompletionText = null;
1627+
}
16221628
}

0 commit comments

Comments
 (0)