Skip to content

Instantly share code, notes, and snippets.

@wojtek-kalicinski
Created May 5, 2020 08:12
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 wojtek-kalicinski/edd36b758c27631c5e1e74cf1e0aafd3 to your computer and use it in GitHub Desktop.
Save wojtek-kalicinski/edd36b758c27631c5e1e74cf1e0aafd3 to your computer and use it in GitHub Desktop.
private val listener = SplitInstallStateUpdatedListener(
onRequiresConfirmation = { state -> // ← REQUIRED ARGUMENTS
// HANDLE CONFIRMATION DIALOG
},
onInstalled = {
// HANDLE INSTALLED STATE
},
onDownloading = { state -> // ← OPTIONAL ARGUMENTS
// SHOW PROGRESS
},
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment