Skip to content

Instantly share code, notes, and snippets.

@samiuelson
Created May 6, 2020 13:34
Show Gist options
  • Save samiuelson/4bb52eb7cb74b3dc6310c682e84b1969 to your computer and use it in GitHub Desktop.
Save samiuelson/4bb52eb7cb74b3dc6310c682e84b1969 to your computer and use it in GitHub Desktop.
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