芯片UI的Andr​​oid中自定义数据。 (OR)定制klinker41 / Android的芯片库来处理自定义数据(而不是电子邮件和联系人等) [英] Chips UI for custom data in Android. (OR) Customizing klinker41/android-chips library to handle custom data (other than EMAIL and CONTACTS)

查看:239
本文介绍了芯片UI的Andr​​oid中自定义数据。 (OR)定制klinker41 / Android的芯片库来处理自定义数据(而不是电子邮件和联系人等)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想作为设计材料芯片<与材料的外观来实现的Andr​​oid芯片/一>。已经实现他们这种方式唯一的图书馆是 https://github.com/klinker41/android-chips。但它只能处理电子邮件和电话联系。我有我自己的数据列表有被搜索时选择,因为这个库做同样的方式应该芯片显示。

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.

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

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 ?

编辑:

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

Question in general is that how to implement Chips UI in Android to handle custom data ?.

推荐答案

我实现了使用芯片的https:// github上。 COM / splitwise / TokenAutoComplete 。足够的研究与可用的库之后,我觉得这个库是最好的自定义数据。结果
[我会努力尽快增加code越好。我也可以添加图片的芯片。]

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.]

这是我的筹码的样子:

在这里输入的形象描述

这篇关于芯片UI的Andr​​oid中自定义数据。 (OR)定制klinker41 / Android的芯片库来处理自定义数据(而不是电子邮件和联系人等)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆