title: How do use the LayoutInflater inflater properly
body: <p>I created the Layout design using java code only not from the XML Layout Designs. The code I used is following</p>
  
  <pre><code> public View getView(int position, View convertView, ViewGroup parent) {
    TextView tv = new TextView(mContext);
    tv.setText(hotelList.get(position).name);
    return tv;
    }
  </code></pre>
  
  <p>How to use layoutInflator for creating layout fro this. I need 2 more textviews in a single list item. the whole list contains 10 different list items</p>
  
  <p>Please provide some codes for this. Help appreciated</p>