Code example for Context

Methods: getApplicationContext

0
   * Non-Android accessor. 
   * 
   * @return the {@code ResourceLoader} associated with this {@code Context} 
   */ 
  public ResourceLoader getResourceLoader() { 
    return shadowOf((Application) realContext.getApplicationContext()).getResourceLoader();
  } 
 
  public boolean isStrictI18n() { 
    return getShadowApplication().isStrictI18n(); 
  } 
 
  public static void clearFilesAndCache() { 
    clearFiles(FILES_DIR);
    clearFiles(CACHE_DIR);
    clearFiles(EXTERNAL_CACHE_DIR);
    clearFiles(EXTERNAL_FILES_DIR);
    clearFiles(DATABASE_DIR);
  } 
 
  public static void clearFiles(File dir) {