一个快捷实现类似 QQ,微信聊天页面的项目

ChatKit

项目地址:stfalcon-studio/ChatKit 

简介:一个快捷实现类似 QQ,微信聊天页面的项目

chat-类似聊天-

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

一个快捷实现类似 QQ,微信聊天页面的项目_第1张图片

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 [email protected]. 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

How to use

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

  • DialogsList;
  • MessagesList;
  • MessageInput;

Download

Download via Gradle:

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

or Maven:


  com.github.stfalcon
  chatkit
  0.3.1
  pom

Proguard

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

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

Try it

Check out the sample project to try it yourself! :wink:

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 [email protected] if you are using this library, just to let us know :) Thank you!

你可能感兴趣的:(Android,不错文章转载)