Android library. Flexible components for chat UI implementation with flexible possibilities for styling, customizing and data management
Перейти к файлу
Andy Scherzinger 8960c5033c
Merge pull request #3 from nextcloud-deps/chore/noid/java8removal
Remove java8 settings
2023-04-01 15:55:29 +02:00
chatkit remove java8 settings 2023-04-01 15:53:28 +02:00
docs Squashed commit of the following: 2019-09-05 12:25:23 +02:00
gradle/wrapper Update to latest lib versions and build tools 2023-04-01 15:42:47 +02:00
images docs update 2017-04-10 12:31:13 +03:00
sample Update to latest lib versions and build tools 2023-04-01 15:42:47 +02:00
.gitignore Improvements 2018-07-25 14:52:26 +02:00
LICENSE Update LICENSE 2018-07-11 11:51:23 +03:00
README.md Update README.md 2019-09-05 12:09:52 +02:00
build.gradle Update to latest lib versions and build tools 2023-04-01 15:42:47 +02:00
gradle.properties Update to AndroidX + bugfixes 2019-08-30 13:04:35 +02:00
gradlew bintray config 2017-02-13 15:54:00 +02:00
gradlew.bat bintray config 2017-02-13 15:54:00 +02:00
settings.gradle init 2016-12-09 10:08:50 +02:00

README.md

ChatKit for Android

Download

ChatKit is a library designed to simplify the development of UI for such a trivial task as chat. It has flexible possibilities for styling, customizing and data management

Features

  • Ready-to-use already styled solution for quick implementation;
  • Default and custom media messages;
  • Fully customizable layouts - setting styles out of the box (use your own colors, text appearances, drawables, selectors and sizes) or even create your own custom markup or/and holders for unique behaviour;
  • List of dialogs, including tete-a-tete and group chats, markers for unread messages and last user message view;
  • List of messages (incoming and outcoming) with history pagination and already calculated dates headers;
  • Different avatars with no specific realization of image loading - you can use any library you want;
  • Selection mode for interacting with messages;
  • Links highlighting
  • Easy dates formatting;
  • Your own models for dialogs and messages - there is no converting needed;
  • Ready to use message input view;
  • Custom animations (according to RecyclerView usage).

Who we are

Need iOS and Android apps, MVP development or prototyping? Contact us via info@stfalcon.com. We develop software since 2009, and we're known experts in this field. Check out our portfolio and see more libraries from stfalcon-studio.

Demo Application

Get it on Google Play

How to use

To implement all of the features above you can use the following components:

Download

Download via Gradle:

compile 'com.github.stfalcon:chatkit:0.3.3'

or Maven:

<dependency>
  <groupId>com.github.stfalcon</groupId>
  <artifactId>chatkit</artifactId>
  <version>0.3.3</version>
  <type>pom</type>
</dependency>

AndroidX

To use with AndroidX you have to set targetSdkVersion for your project to 28 and add following 2 lines in gradle.properties file.

android.useAndroidX=true
android.enableJetifier=true

Proguard

If you are using ProGuard you might need to add rules:

-keep class * extends com.stfalcon.chatkit.messages.MessageHolders$OutcomingTextMessageViewHolder {
     public <init>(android.view.View, java.lang.Object);
     public <init>(android.view.View);
 }
-keep class * extends com.stfalcon.chatkit.messages.MessageHolders$IncomingTextMessageViewHolder {
     public <init>(android.view.View, java.lang.Object);
     public <init>(android.view.View);
 }
-keep class * extends com.stfalcon.chatkit.messages.MessageHolders$IncomingImageMessageViewHolder {
     public <init>(android.view.View, java.lang.Object);
     public <init>(android.view.View);
 }
-keep class * extends com.stfalcon.chatkit.messages.MessageHolders$OutcomingImageMessageViewHolder {
     public <init>(android.view.View, java.lang.Object);
     public <init>(android.view.View);
 }

Try it

Check out the sample project to try it yourself! 😉

Changelog

See the changelog to be aware of latest improvements and fixes.

Gratitude

We were inspired by JSQMessagesViewController library for iOS. In our plans to improve functionality to give Android developers wide opportunities to create fast and good-looking UI for chats in their applications.

Please, contact us via github@stfalcon.com if you are using this library, just to let us know :) Thank you!

License

Copyright (C) 2017 stfalcon.com

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

https://github.com/stfalcon-studio/ChatKit/blob/master/LICENSE

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.