title: How to set Font of List View Items to Marathi
body: <p>I'm using list view in my app, I want to the font of list view item in marathi, but certain error occurs and app get close. Here is my code:</p>
  
  <pre><code>public View getView(int position, View convertView, ViewGroup parent) {
  
      View vi=convertView;
      ViewHolder holder;
  
      if(convertView==null){ 
  
          /********** Inflate tabitem.xml file for each row ( Defined below ) ************/
          vi = inflater.inflate(R.layout.tabitem, null); 
  
          /******** View Holder Object to contain tabitem.xml file elements ************/
  
          holder=new ViewHolder();
          holder.text.setTypeface(Typeface.createFromAsset(vi.getContext().getAssets(), "akshar.ttf"));
          holder.text1.setTypeface(Typeface.createFromAsset(vi.getContext().getAssets(), "akshar.ttf"));
          holder.text=(TextView)vi.findViewById(R.id.text);
          holder.text1=(TextView)vi.findViewById(R.id.text1);
          holder.image=(ImageView)vi.findViewById(R.id.image);
  
         /************  Set holder with LayoutInflater ************/
          vi.setTag(holder);
      }
  </code></pre>