Android ListView with Custom Icons from URL

I need to display a list of options in my listview (or suitable alternative), retrieved from a json feed. I have this working. I have also been able to process image urls to a drawable, from the json using dhuckabys prime image loader (https://github.com/DHuckaby/Prime). I can display a list of text by making a string array and passing it into the adapter, I just can't figure out a way to display my drawables in the list. All examples I've found show how to use icons from the drawables folder. Ideally, I want to interate through my json, process the image urls and add the drawable and the title so that it can be shown in a list. I've tried making custom list adapters without success. Any help or links to relavant tutorials would be helpful. I can only find tutorials that use local drawables. Thanks.

以上就是Android ListView with Custom Icons from URL的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏