I'm having a fragment that shows the image and the name of my items and below that I want to show a list of comments on that item. However it seems I cannot use a listview inside my Scrollview. People are suggesting to use header for my listview. But I'm very confused since my header is not static and is different for every item ( I have to get and populate the imageview and textview by an http call). Can someone help me with this issue by providing a simple example or link?
I read this Using a ListAdapter to fill a LinearLayout inside a ScrollView layout but I couldn't figure it out.