Created
April 3, 2018 15:31
-
-
Save adrianhall/0fbf78dd7433cd45a7bac8e30f3cf7df to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.shellmonger.apps.familyphotos.lifecycle | |
import android.app.Application | |
import com.shellmonger.apps.familyphotos.services.AWSAnalyticsService | |
import com.shellmonger.apps.familyphotos.services.AnalyticsService | |
class ApplicationWrapper : Application() { | |
companion object { | |
var analyticsService: AnalyticsService? = null | |
} | |
override fun onCreate() { | |
super.onCreate() | |
analyticsService = AWSAnalyticsService(applicationContext) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment