GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - GetStream/android-chat-tutorial: Sample apps for the Stream Chat Android SDK's official tutorial

BranchesTags
Open more actions menu

Latest commit

 

History

293 Commits
293 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
gradle/wrapper
gradle/wrapper
 
 
samplejava
samplejava
 
 
samplekotlin
samplekotlin
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle.kts
settings.gradle.kts
 
 

Repository files navigation

Android Chat Tutorial Sample

This repository allows you to check the result after completing each step described in the Android Chat Tutorial. It contains samples written in both Kotlin (samplekotlin module) and Java (samplejava module). For more Android Chat examples, see the Github repo for the SDK and the UI Components sample app in it.

Already all-in on Jetpack Compose? Check out the tutorial repo of our Compose UI Components instead.

The project is pre-configured with a shared Stream account for testing purposes. You can learn more about Stream Chat here, and then sign up for an account and obtain your own keys here.

Stream Chat, Video and Activity Feeds

This project uses Stream's battle-tested chat infrastructure. Check out our:

  • ⭐ Chat API
  • 📱 Video API
  • 🔔 Activity Feeds

Quick start

  1. Clone the repository
  2. Open the project in Android Studio
  3. Run the samplekotlin or samplejava configuration
  4. Make sure to check the Details section below for customizations

Details

The sample apps consist of two screens:

  • MainActivity: Shows the list of available channels.
  • ChannelActivity: Shows the selected channel view, which includes the header, message list, and message input view.

Each module contains multiple ChannelActivity implementations, which correspond to the steps of the tutorial. You can easily swap them by changing the setOnChannelClickListener located in MainActivity:

channelListView.setOnChannelClickListener { channel ->
    // open the channel activity
    startActivity(ChannelActivity.newIntent(this, channel))
}

Currently, you can choose from four different ChannelActivity implementations:

  • ChannelActivity - a basic Message List implementation
  • ChannelActivity2 - includes a new MessageListView style and custom attachment type
  • ChannelActivity4 - includes a custom Typing Header component created with the Low-Level Client library

About

Sample apps for the Stream Chat Android SDK's official tutorial

getstream.io/tutorials/android-chat/

Topics

androidandroid-chatchatchat-apichat-sdkhacktoberfestjavakotlinmessagesmessagingstreamtutorial

Resources

Readme
BSD-3-Clause license
Activity
Custom properties

Stars

46 stars

Watchers

20 watching

Forks

9 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.