Android 中自定义数据的筹码 UI。 (OR) 自定义 klinker41/android-chips 库来处理自定义数据(EMAIL 和 CONTACTS 除外)

Chips UI for custom data in Android. (OR) Customizing klinker41/android-chips library to handle custom data (other than EMAIL and CONTACTS)

我想实现 android 芯片,其 material 外观与 material chips. The only library that has implemented them this way is https://github.com/klinker41/android-chips 中的设计相同。但它只处理电子邮件和 Phone 联系人。我有自己的数据列表,这些数据必须是可搜索的,并且在选择时应该以与该库相同的方式显示在芯片中。

有没有人使用 https://github.com/klinker41/android-chips 库来处理电子邮件和 Phone 以外的数据?如果是这样,关于如何调整它来处理我的数据的任何提示?对此有什么建议吗?

编辑:

一般的问题是如何在 Android 中实现芯片 UI 来处理自定义数据?

我使用 https://github.com/splitwise/TokenAutoComplete 实现了芯片。在对可用库进行充分研究后,我觉得这个库最适合自定义数据。
[我会尽快添加代码。我也可以在芯片中添加图像。]

我的筹码是这样的: