title: How to use custom font in custom BaseAdapter
body: <p>I am creating an Android app using Android Studio.
  I have listview in an activity that is using a custom SimpleAdapter.
  I need to use a custom font in the custom adapter but when I try it does not work.
  No errors only no font is being used. The font path works fine when used directly in an activity.</p>
  
  <p>When I log out the fonter created I get this:</p>
  
  <pre><code>E/====﹕ FONT: android.graphics.Typeface@4c5dfbc0
  </code></pre>
  
  <p>This is my custom adapter code:</p>
  
  <pre><code>package com.myapp.app.utilities;
  
  import android.content.Context;
  import android.graphics.Color;
  import android.graphics.Typeface;
  import android.util.Log;
  import android.view.LayoutInflater;
  import android.view.View;
  import android.view.ViewGroup;
  import android.widget.SimpleAdapter;
  import android.widget.TextView;
  
  import com.fieldly41.app.R;
  
  import java.util.ArrayList;
  import java.util.HashMap;
  
  public class SimpleIconAdapter extends SimpleAdapter {
  
      private ArrayList&lt;HashMap&lt;String, String&gt;&gt; results;
  
      //private Context context;
  
      Typeface font;
  
      public SimpleIconAdapter(Context context, ArrayList&lt;HashMap&lt;String, String&gt;&gt; data, int resource, String[] from, int[] to) {
  
          super(context, data, resource, from, to);
  
          this.results = data;
  
      }
  
      @Override
      public View getView(int position, View view, ViewGroup parent) {
  
          View v = view;
  
          if (v == null) {
  
              LayoutInflater inflater = (LayoutInflater) parent.getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
  
              v = inflater.inflate(R.layout.list_item_icon, null);
  
          }
  
          if(results.get(position) != null ) {
  
              Typeface fonter = Typeface.createFromAsset(v.getResources().getAssets(), "fonts/ss-symbolicons-line.ttf");
  
              TextView top_label = (TextView) v.findViewById(R.id.top_label);
              TextView icon_label = (TextView) v.findViewById(R.id.icon);
              TextView bottom_label = (TextView) v.findViewById(R.id.bottom_label);
  
              icon_label.setText("");
              icon_label.setTypeface(fonter);
  
              if (results.get(position).get("locked").equals("false")) {
  
                  icon_label.setTextColor(Color.WHITE);
  
              } else {
  
                  icon_label.setTextColor(Color.RED);
  
              }
  
              top_label.setText(results.get(position).get("title"));
              bottom_label.setText(results.get(position).get("created_at"));
  
          }
  
          return v;
  
      }
  
  }
  </code></pre>