问题
I want to implement android chips with material look as designed in material chips. The only library that has implemented them this way is https://github.com/klinker41/android-chips. But it handles only Email and Phone contacts. I have list of my own data that has to be searchable and should be shown in chips when selected as same way this library does.
Has anybody used https://github.com/klinker41/android-chips library to handle the data other than Email and Phone ? If so, any hints on how to tailor it to handle my data ? Any suggestions regarding this ?
EDIT :
Question in general is that how to implement Chips UI in Android to handle custom data ?.
回答1:
I implemented chips using https://github.com/splitwise/TokenAutoComplete. After enough research with available libraries, I felt this library is best for custom data.
[I will try to add code as soon as possible. I could add image also in the chip.]
This is how my chips looks:
来源:https://stackoverflow.com/questions/34130997/chips-ui-for-custom-data-in-android-or-customizing-klinker41-android-chips-li