static CalligraphyActivityFactory get(Activity activity) {
        if (!(activity.getLayoutInflater() instanceof CalligraphyLayoutInflater)) {
            throw new RuntimeException("This activity does not wrap the Base Context! See CalligraphyContextWrapper.wrap(Context)");
        }
        return (CalligraphyActivityFactory) activity.getLayoutInflater();
    }
static CalligraphyActivityFactory get ( Activity activity ) { if ( ! ( activity . getLayoutInflater ( ) instanceof CalligraphyLayoutInflater ) ) { throw new RuntimeException ( "This activity does not wrap the Base Context! See CalligraphyContextWrapper.wrap(Context)" ) ; } return ( CalligraphyActivityFactory ) activity . getLayoutInflater ( ) ; }
Get the Calligraphy Activity Fragment Instance to allow callbacks for when views are created.

@param activity The activity the original that the ContextWrapper was attached too.
@return Interface allowing you to call onActivityViewCreated