the android context object can not be created until the android has created the application object . the androidcontext object must be initialized before other singletons can use it . concode_field_sep AndroidContext sInstance concode_elem_sep Context mContext concode_field_sep AndroidContext instance concode_elem_sep Context get
void function ( @ NonNull Context arg0 ) { if ( sInstance == null ) { sInstance = new AndroidContext ( arg0 ) ; } }