Avengers Chat
AvengersChat is a demo application based on modern Android tech stacks and Stream Chat SDK.
Previews
Download
Go to the Releases to download the latest APK.
Stream Chat SDK
AvengersChat has been built with Stream Chat SDK for implementing messaging systems.
- Chat Messaging Tutorial - Basic tutorials for getting started by building a simple messaging app.
- Stream Chat Android repository - Official Android SDK for Stream Chat.
- Chat Client Documentation - Full documentation of the Chat client for requesting API calls.
- UI Components Documentation - Full documentation of the Stream UI Components.
- UI Components Sample - Official sample app for building messaging app.
Tech stack & Open source libraries
- Minimum SDK level 21.
- 100% Kotlin based + Coroutines + Flow for asynchronous.
- Hilt for dependency injection.
- JetPack
- Lifecycle - dispose observing data when lifecycle state changes.
- ViewModel - UI related data holder, lifecycle aware.
- Room Persistence - construct database.
- App Startup - Provides a straightforward, performant way to initialize components at application startup.
- Architecture
- MVVM Architecture (View - DataBinding - ViewModel - Model)
- Bindables - Android DataBinding kit for notifying data changes to UI layers.
- Repository pattern
- Material Design & Animations - Design system created by Google to help teams build high-quality digital experiences.
- Retrofit2 & OkHttp3 - Construct the REST APIs and paging network data.
- Sandwich - Construct lightweight http API response and handling error responses.
- Moshi - A modern JSON library for Kotlin and Java.
- Coil - Image loading for Android backed by Kotlin Coroutines.
- TransformationLayout - implementing transformation motion animations.
- android-youtube-player - YouTube Player library for Android and Chromecast, stable and customizable.
- DiscreteScrollView - Implementing a scrollable list of items.
- Timber - Logging.
Supported features
- Light and Dark themes.
- Different color themes by a chosen character.
- 100% offline mode supports.
- Live stream chat example.
- Channel and message lists.
- Direct message and group messages.
- Mentioned message list.
- Custom emoji reactions.
- User online/offline status.
- User last active date.
- User info & direct message dialogs.
- Visual animations like transition.
- And a lot of features by Stream Android SDK!
TODO
Anyone can contribute to our open source project! Please kindly read this Contributing Guideline before contributing to our project.
- Creating group chats by selecting users.
- Access user info dialog everywhere.
- Login with a new custom hero.
- Push notifications for new messages.
- Add unit test cases for all business logic.
Chat screenshots
If you find some funny moments on this demo application, feel free to join and share that moment in this thread!
Architecture
MAD Score
π
Find this repository useful? Support it by joining stargazers for this repository.
License
Copyright 2021 Stream.IO, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.