title: Custom font item in ListView
body: <p>I want custom fonts in item listview.</p>
  
  <p>code:</p>
  
  <pre><code>public View getView(int position, View convertView, ViewGroup parent) {
  
      LayoutInflater inflater = getLayoutInflater(getArguments());
      View v = inflater.inflate(R.layout.item, parent, false);
      TextView tvitem = (TextView) v.findViewById(R.id.tvitem);
      Typeface tf = Typeface.createFromAsset(context.getAssets(),
                      "fonts/name.ttf");
      tvitem.setTypeface(tf);
      ImageView imgitem = (ImageView) v.findViewById(R.id.imgitem);
      tvitem.setText(name[position]);
      imgitem.setImageResource(img[position]);
  
      return v;
  }
  </code></pre>
  
  <p>EXCEPTION:</p>
  
  <pre><code>11-18 02:04:31.501: E/AndroidRuntime(18221): FATAL EXCEPTION: main
  11-18 02:04:31.501: E/AndroidRuntime(18221): java.lang.NullPointerException
  11-18 02:04:31.501: E/AndroidRuntime(18221):    at com.example.tuvi.MainActivity$GridViewAdapter.getView(MainActivity.java:83)
  </code></pre>
  
  <p>What should I do????</p>