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/compose-chat-tutorial: Sample app for the Stream Chat Compose SDK's official tutorial

BranchesTags
Open more actions menu

Latest commit

 

History

66 Commits
66 Commits

Folders and files

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

Repository files navigation

Compose Chat Tutorial Sample

This repository allows you to check the result after completing the Compose Chat Tutorial.

Not using Compose yet? Check out the tutorial repo of our XML based 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.

Quick start

  1. Clone the repository
  2. Open the project in the latest stable version of Android Studio
  3. Run the app
  4. Make sure to check the Details section below for the different steps

Details

The tutorial app consists 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.

ChannelActivity follows the published tutorial step-by-step and includes a colors customization on ChatTheme. Three additional ChannelActivity* implementations show alternative customization techniques and screen compositions. To try one, point MainActivity's onChannelClick at it:

onChannelClick = { channel ->
    startActivity(ChannelActivity4.getIntent(this, channel.cid))
},

You can choose from three alternative ChannelActivity implementations:

  • ChannelActivity2 - customizes typography via ChatTheme
  • ChannelActivity3 - uses bound and stateless components to build the chat screen
  • ChannelActivity4 - uses a custom message composer component

About

Sample app for the Stream Chat Compose SDK's official tutorial

getstream.io/chat/compose/tutorial/

Topics

androidandroid-chatchat-apichat-sdkjetpack-composekotlinmessagingstream

Resources

Readme
BSD-3-Clause license
Activity
Custom properties

Stars

16 stars

Watchers

18 watching

Forks

6 forks
Report repository

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.