briocodes / AvengersChat

πŸ’™ Android sample Avengers chat application using Stream Chat SDK based on MVVM (ViewModel, Coroutines, Room, Hilt, Repository) architecture.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Avengers Chat

License API KotlinWeekly API

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.

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.
  • Guest mode.
  • 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. 😎

  • Modify a user profile image.
  • Login with a new guest user.
  • Create group chats by selecting users.
  • Access user info dialog everywhere.
  • 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

architecture-android-stream

MAD Score

summary

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.

About

πŸ’™ Android sample Avengers chat application using Stream Chat SDK based on MVVM (ViewModel, Coroutines, Room, Hilt, Repository) architecture.

License:Apache License 2.0


Languages

Language:Kotlin 100.0%