简体   繁体   English

Android应用程序:带有图像的自定义列表视图

[英]Android app: custom listview with image

I am relatively new to development of Android apps. 我对开发Android应用程序比较陌生。 I have bought some books on Android development which got me started in developing simple apps. 我购买了一些有关Android开发的书,这使我开始开发简单的应用程序。

Now, I want to start building an app that has more functionality. 现在,我想开始构建具有更多功能的应用程序。 Part of this app consists of a ListView containing about 100 rows. 该应用程序的一部分由一个包含约100行的ListView组成。 Each row should contain a little image (from remote URL) of a cover of a book and furthermore it should contain the title of the book and the publication date. 每行应包含一本书封面的一小幅图像(来自远程URL),此外,还应包含该书的标题和出版日期。 Tapping on the row should bring up a new Activity containing all details of the movie. 轻按该行应调出一个新活动,其中包含电影的所有详细信息。

I already have found out how to retrieve the underlying data from a remote web service using JSON. 我已经找到了如何使用JSON从远程Web服务检索基础数据。

Right now I am focusing on the GUI. 现在,我专注于GUI。

I would very much appreciate it if someone could give me some tips/code samples of this type of GUI! 如果有人可以给我一些此类GUI的提示/代码示例,我将不胜感激!

Regards, 问候,

Mark 标记

this is a good tutorial that shows how to write custom listview 这是一个很好的教程,展示了如何编写自定义列表视图

http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/ http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM