I have one question for list view. At the time of creating list item in getView() method, which is a good option for list view. Creating views through coding or inflating view through xml. I am thinking about memory utilization & performance of list view.
Normally list item contain one product image with their name & 3 line description. Means one Image View & two text view.
Creating
Viewsthrough code is usually not recommended and is justified only in cases when you can’t deal without it. Using XML is always best practice so you should use this approach no matter where you’re using yourViews. Hope this helps.