-
-
Save dbarks1024/0d468a119ebe658030ccfac527a09f85 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
override fun onBindSlice(sliceUri: Uri): Slice? { | |
val context = getContext() ?: return null | |
return when (sliceUri.path) { | |
"/range" -> { | |
// Display range slice | |
} | |
else -> { | |
... | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment