Skip to content

Instantly share code, notes, and snippets.

@berteodosio
Created June 13, 2019 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save berteodosio/cf5bc9e7d4dba0458542e339b22971c1 to your computer and use it in GitHub Desktop.
Save berteodosio/cf5bc9e7d4dba0458542e339b22971c1 to your computer and use it in GitHub Desktop.
class AppApplication : Application() {
override fun onCreate() {
super.onCreate()
val remoteFileUrl = "https://<remote_file_url>.json"
BlockBuilder.instance
.configuration(ConfigurationParameters(R.raw.configuration, remoteFileUrl))
.configureLog(LogLevel.VERBOSE, ignoreThrowable = false)
.init(this)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment