Created
May 6, 2020 13:34
-
-
Save samiuelson/4bb52eb7cb74b3dc6310c682e84b1969 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
companion object { | |
private const val USER_ID = "bob" | |
private const val CHANNEL_TYPE = "livestream" | |
private const val CHANNEL_ID = "livestream-clone-android" // You'll want to make it unique per video | |
private const val USER_TOKEN = BuildConfig.USER_TOKEN | |
private val chatUser = User(id = USER_ID).apply { | |
name = USER_ID | |
image = getDummyAvatar(USER_ID) | |
} | |
private fun getDummyAvatar(id: String) = "https://api.adorable.io/avatars/285/$id.png" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment