开发者

ListView With three fields

开发者 https://www.devze.com 2023-03-10 18:25 出处:网络
Iam Trying to ma开发者_如何学Goke a financial application and i want to put a image, a text with the description, and the money in the account, in a listview line.. how can i do that?You would use a C

Iam Trying to ma开发者_如何学Goke a financial application and i want to put a image, a text with the description, and the money in the account, in a listview line.. how can i do that?


You would use a CustomAdapter as a subclass of BaseAdapter or ArrayAdapter. Inflate your custom row.xml (Which will be your layout for a single row) and then set that adapter to the ListView. Here is a good tutorial

0

精彩评论

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