Created
January 4, 2020 20:37
-
-
Save crypticminds/73634b7d8f07d1c3c04597ea2d6e0820 to your computer and use it in GitHub Desktop.
This file contains 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.arcane.coldstorage.application | |
import android.app.Application | |
import com.arcane.coldstoragecache.cache.Cache | |
class Application : Application() { | |
/** | |
* The cache needs to be initialized here allowing the | |
* cache to pull any available data from shared preference and | |
* load it into the memory. | |
*/ | |
override fun onCreate() { | |
super.onCreate() | |
Cache.initialize(context = applicationContext) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment