title: How to pass Typeface(not custom font path) to another activity or store in SharedPreference
body: <p>I am getting the <a href="https://developer.android.com/reference/android/graphics/Typeface.html" rel="nofollow">Typeface</a> as a parameter from the integrating application to my SDK.
  How can I store it in SharedPrefrences or pass to another Activity?</p>
  
  <p>The integrating application can send the inbuilt typeface like <a href="https://developer.android.com/reference/android/graphics/Typeface.html#SERIF" rel="nofollow">Typeface.SERIF</a> or they can create a custom typeface using <code>Typeface.createFromAsset(context.getAssets(), fontAssetPath)</code></p>
  
  <p>So, how can I use the given Typeface in different places of my SDK?</p>