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.
            Asked
            
        
        
            Active
            
        
            Viewed 87 times
        
    0
            
            
        - 
                    Please Explain your query.. What exactly you want? You want to add new View(Item/Images) in your list...? – deepak Sharma Feb 09 '12 at 16:14
2 Answers
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
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
 
     
    