0

I am trying to make a recipe ListView for food and I want to add imageViews next to items in my list. How can i do that? Thx.

2 Answers2

0

A ListView item can have it's own custom layout.

You have to create your adapter for the ListView. When you create your adapter you can assign your custom layout.

Note: You will have to implement getView() to property set the image+text.

Here you have a sample: Lazy load of images in ListView

Community
  • 1
  • 1
oriolpons
  • 1,883
  • 12
  • 20
0

Following this tutorial could be a nice idea for you (mainly the second example).

http://www.mkyong.com/android/android-listview-example/

But anyway, you should Google a little bit before asking such a basic question.

Luis Ollero
  • 383
  • 1
  • 2
  • 8