I want to past a Typeface through an Intent (more specifically a class containing a Typeface through an Intent) but can't because the class isn't Serializable. I tried creating a container class like so:
public class SerializableTypeface extends Typeface implments Serializable {
}
But got an error because Typeface has no default constructor. But when looking for parameters to put in the constructor I couldn't find any constructors for a Typeface.
So how do I serialize a Typeface?
                        
Another way to achieve this would be to store the Typeface name as a String and parse it on the "other side".
For example: