Android 聊天控件 Android-Chat-Widget

码农软件 · 软件分类 · 手机相关软件 · 2019-05-10 11:14:03

软件介绍

Android-Chat-Widget 是像微信、WhatsApp、Line一样的聊天控件。

Demo


如何使用?

1.在Layout中

<com.jialin.chat.MessageInputToolBox
    android:id="@+id/messageInputToolBox"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" 
  />

2.在 Activity 中

    /**
     * init MessageInputToolBox
     */
    private void initMessageInputToolBox() {
        box = (MessageInputToolBox) findViewById(R.id.messageInputToolBox);

        box.setOnOperationListener(new OnOperationListener() {

            @Override
            public void send(String content) {
                // TODO
            }

            @Override
            public void selectedFace(String content) {
                // TODO
            }

            @Override
            public void selectedFuncation(int index) {
                // TODO
            }

        });

        box.setFaceData(faceData);

        box.setFunctionData(functionData);
    }

本文地址:https://codercto.com/soft/d/5425.html

How to Build a Billion Dollar App

How to Build a Billion Dollar App

George Berkowski / Little, Brown Book Group / 2015-4-1 / USD 24.95

Apps have changed the way we communicate, shop, play, interact and travel and their phenomenal popularity has presented possibly the biggest business opportunity in history. In How to Build a Billi......一起来看看 《How to Build a Billion Dollar App》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换