Skip to content
Proyek

Tentang

Mengimplementasikan antarmuka percakapan Android dengan ListView atau RecyclerView. Mendukung pesan teks, emoji, gambar, dan suara, memuat pesan sebelumnya dengan menarik ke bawah, serta menyimpan riwayat percakapan secara lokal.

Produktivitas dan otomatisasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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.

Jelajahi proyek terkait

Memuat…