Tabnine Logo
MultiDexApplication
Code IndexAdd Tabnine to your IDE (free)

How to use
MultiDexApplication
in
androidx.multidex

Best Java code snippets using androidx.multidex.MultiDexApplication (Showing top 7 results out of 315)

origin: mikepenz/FastAdapter

  @Override
  public void onCreate() {
    super.onCreate();
    // The Realm file will be located in Context.getFilesDir() with name "default.realm"
    Realm.init(this);
    RealmConfiguration config = new RealmConfiguration.Builder().build();
    Realm.setDefaultConfiguration(config);
  }
}
origin: chat-sdk/chat-sdk-android

  @Override
  protected void attachBaseContext (Context base) {
    super.attachBaseContext(base);
    MultiDex.install(this);
  }
}
origin: AlexMofer/ProjectX

@Override
public void onTerminate() {
  unregisterReceiver(mBroadcastReceiver);
  mLocalBroadcastManager.unregisterReceiver(mLocalBroadcastReceiver);
  super.onTerminate();
}
origin: mikepenz/Android-Iconics

@Override
public void onCreate() {
  super.onCreate();
  //register custom fonts like this (or also provide a font definition file)
  Iconics.registerFont(new CustomFont());
  //Generic font creation process
  GenericFont gf2 = new GenericFont("GenericFont", "SampleGenericFont", "gmf", "fonts/materialdrawerfont.ttf");
  gf2.registerIcon("person", '\ue800');
  gf2.registerIcon("up", '\ue801');
  gf2.registerIcon("down", '\ue802');
  Iconics.registerFont(gf2);
  //Enable the below line to not allow the automatic font detection via the included string fields. This helps to increase performance by a tiny bit.
  //Iconics.markInitDone();
}
origin: guardianproject/haven

@Override
public void onCreate() {
  super.onCreate();
  SugarContext.init(getApplicationContext());
  SchemaGenerator schemaGenerator = new SchemaGenerator(this);
  schemaGenerator.createDatabase(new SugarDb(this).getDB());
  mPrefs = new PreferenceManager(this);
  ImagePipelineConfig config = ImagePipelineConfig.newBuilder(this)
      .setProgressiveJpegConfig(new SimpleProgressiveJpegConfig())
      .setResizeAndRotateEnabledForNetwork(true)
      .setDownsampleEnabled(true)
      .build();
  Fresco.initialize(this,config);
  AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
  if (mPrefs.getRemoteAccessActive())
    startServer();
}
origin: chat-sdk/chat-sdk-android

@Override
public void onCreate() {
  super.onCreate();
origin: AlexMofer/ProjectX

@Override
public void onCreate() {
  super.onCreate();
  final IntentFilter intentFilter = new IntentFilter();
  onAddAction(intentFilter);
  registerReceiver(mBroadcastReceiver, intentFilter);
  final IntentFilter localIntentFilter = new IntentFilter();
  onAddLocalAction(localIntentFilter);
  mLocalBroadcastManager = LocalBroadcastManager.getInstance(this);
  mLocalBroadcastManager.registerReceiver(mLocalBroadcastReceiver, localIntentFilter);
}
androidx.multidexMultiDexApplication

Most used methods

  • onCreate
  • attachBaseContext
  • onTerminate

Popular in Java

  • Reactive rest calls using spring rest template
  • getSharedPreferences (Context)
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now