Skip to content

Instantly share code, notes, and snippets.

@nparsons08
Created Dec 11, 2019
Embed
What would you like to do?
// mobile/android/app/src/main/kotlin/io/getstream/flutter_the_stream/MainActivity.kt:80
private fun getTimeline(user: String, token: String): List<Activity> {
val client = CloudClient.builder(API_KEY, token, user).build()
return client.flatFeed("timeline").getActivities(Limit(25)).join()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment