title: Creating listview items programmatically in Android
body: <p>I have data from a WS that need to be shown on an Android ListView.
  Data can be of different types, so i need to dynamically create a layout for ListView items, how can i do it? I think i have to use LayoutInflater but have always used it with existing layouts and never created a layout from scratch. How can i do it?</p>