开发者

Is it possible to set two adapters for single spinner in Android?

I want to开发者_开发技巧 set an array adapter, and cursor adapter, for one spinner. Is it possible?


Not directly, but you can take a look to commonsguy's MergeAdapter, an Adapter implementation that accept multiple adapters and merges them into one single Adapter that you can pass to your spinner, if that's what you are looking for...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜