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
精彩评论