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 .