Skip to content
프로젝트

소개

Android의 ListView 또는 RecyclerView로 구현한 채팅 화면입니다. 텍스트, 이모티콘, 이미지, 음성 메시지를 지원하며, 아래로 당겨 이전 메시지를 더 불러오고 채팅 기록을 로컬에 저장할 수 있습니다.

생산성 및 자동화

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

ChatDemo

##�ѡ�ʵ�ַ�ʽ�

image

##�ֱ�ʾ�ͼƬ�

image

##ͼƬ�ʾ�ͼƬ�

image

##�ʾ�ͼ�

image

##ע�RecyclerView�ListViewʵ�ַ�ʽ�ͬ�Щ�ܲ�ͬ�ʹ�á�

�߻�淽ʽ�ԣ�־ֲ�Ƶ�Ľ�ʹ�RecyclerView�

�RecyclerView�ƣ�bug֪ͨ�޸� ##16/11/7�£�

  • �Ż�ȣ�Ҫ�Ż�GifTextView�ؼ�RecyclerView�ȣ�Ҫ�ʱͼƬ�ֱ�˸�⡣

##16/10/15�£�

  • �Ϣ�ݿ⣬�ڱ�¼� �ݿ�õ�GreenDao�ݷ�ҳ�ء�

�Ϊ�Ǹ�Demo�ListView�RecyclerView�õ�ͬһ�ֻ�迴ʵ�ַ�ʽ�ɡ�

##16/10/10�£�

  • �ListView�ʵ�ַ�ʽ�PullToRefreshListView

PullToRefreshRecyclerViewΪRecyclerView�ʵ�ַ�ʽ�л�ListView�ChatActivity�PullToRefreshLayout�޸ĺ�һЩ�޸ġ�

ListView�:ChatListViewAdapter

RecyclerView�:ChatRecyclerAdapter

##16/9/30�£�

  • �ListView�ΪRecyclerView

  • �item�

  • �޸�̵�⣬�΢�š�

  • �Ż�棬�û�

##�ܣ�

  • �Ŀ�һ�棬�װ�˰�֡�顢ͼƬ�Ϣ�
  • ֧�־�̬�飬gif�飬�ֱ�š�ͼ�Ļ�ʵ�ֲο�Android�ʵ�ͼ�Ļ�ࣨ�gif�ʾ�
  • ֧�ͼƬ�ͣ�ü�ͼƬ�״�֧�ͼƬ�ͼ�ۿ�֧�ַŴ�С�ȡ�
  • �ͼƬ�С�ȱ�ţ�ѹ�ʾ�
  • ֧�ͣ�δ�״̬�ʾ�¼�Ϊamr�ʽ�ļ�ͷ�΢�š�
  • �Ź�߿�Բο�һ�Ŀ�android�Ź�ߣ�Դ�棩
  • �¼�mp3�ʽ�ο�Android¼�mp3�ʽ
  • û�¼�Ȩ�ʾ�û�ʵ�ַ�ʽ�ο�Android¼�Ȩ�ޱ�
  • �ͼƬ֧�״̬�С�ʧ�ܺͷ�ͳɹ�ʧ�ʾ�̾�ţ�
  • ֧�ظ�࣬�ظ�ViewDragHelper�ʵ�ַ�ʽ�ο�Android�ˢ�
  • ֧�ʱ�ʾ�Ĭ�ϴ�һ�ʾһ�Σ�μ�ChatAdapter�ࡣ�ɸ�޸ġ�

##�ϸ˵�

ListView:

image

RecyclerView:

image

###�Ҫ�

  • ChatActivity:�
  • ChatListViewAdapter:ListView�
  • ChatRecyclerAdapter:RecyclerView�
  • ChatBean:�ݶ�

###�

  • ImageViewActivity:�ͼ�ۿ�
  • AudioRecordButton�Զ�¼�ؼ�
  • BubbleImageView�Զ�ͼƬ�ü�ؼ�
  • MediaManager�ſؼ�
  • GifTextView�Զ�ͼ�Ļ�ſؼ�
  • pulltorefresh�Զ�ظ�ؼ�֧�ظ�ࣩ
  • SlideInOutBottomItemAnimator:RecyclerView�item�ϻ�

ͼƬ�ʹ�Glide�

Ϊ�Ż�ܣ�Ĺ�gifΪ�̬�ʾ�

�ַ�Ͱ�ťΪ�еĻس�

##�ǣ�

�ĿҲ�ǽ�֮ǰ�һЩ�һ�£�ʱ�Ƚ϶̣�ҾͿ�һ�¾�ʵ�ַ�ʽ�ɣ�е�ң�ʱ�Ļ�һ�¡�

License

Copyright 2016 maojiqing

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.

관련 프로젝트 살펴보기

불러오는 중…