-
Notifications
You must be signed in to change notification settings - Fork 382
Closed
Milestone
Description
On Galaxy S6 with Android 7.1 there is a weird bug: with latest repository with samsung keyboard. with other keyboard like swift it working perfect.
- open the sample project.
- Remove Line completionView.setPrefix("To: ", Color.parseColor("blue")); in sample Project TokenActivity.java and then run Sample Application.
- change defaultObject method in ContactsCompletionView.java
@OverRide
protected Person defaultObject(String completionText) {
return new Person(completionText, completionText.replace(" ", ""));
} - change variable initialization of people in TokenActivity.java
people = new Person[]{
new Person("kaushal Prajapati", "kaushalap"),
new Person("dhrumil shah", "dhrumilas"),
new Person("narendra zala", "narendrabz"),
new Person("kirti c", "kirtirc")
}; - start typing "nare" .
- choose the last item ("narendra zala") .
- you see just the new item being added, no text next to it (which is what it should be).
- continue typing - write "d"
Expected result: seeing the new item, and only the new text next to it.
Actual result: seeing the new item, and the text "nared" next to it.
Metadata
Metadata
Assignees
Labels
No labels
