INNER CODE UNIT · Java

SyncthingApp

syncthing/syncthing-android · app/src/main/java/com/nutomic/syncthingandroid/SyncthingApp.java:11

public class SyncthingApp extends Application {

    @Inject DaggerComponent mComponent;

    @Override
    public void onCreate() {
        DynamicColors.applyToActivitiesIfAvailable(this);

        super.onCreate();

        DaggerDaggerComponent.builder()
                .syncthingModule(new SyncthingModule(this))
                .build()
                .inject(this);

        new Languages(this).setLanguage(this);

        // The main point here is to use a VM policy without

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…