Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

SplitCompatApplication

public class SplitCompatApplication
extends Application

java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.app.Application
         ↳ com.google.android.play.core.splitcompat.SplitCompatApplication


Minimal SplitCompat capable application. To use the SplitCompat library there are three possibilities:

  • Declare this class as the application in your AndroidManifest.xml.
  • Have your Application extends this class.
  • Have your Application override attachBaseContext starting with
    protected void attachBaseContext(Context base) {
    super.attachBaseContext(base);
    SplitCompat.install(this);
    }

Summary

Inherited constants

From class android.content.Context
From interface android.content.ComponentCallbacks2

Public constructors

SplitCompatApplication()

Inherited methods

From class android.app.Application
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.content.ComponentCallbacks2
From interface android.content.ComponentCallbacks

Public constructors

SplitCompatApplication

SplitCompatApplication ()