[Free] ChatView — Open Source and Made with RecyclerView Library

:star2: What is ChatView?

ChatView is a lightweight yet powerful extension that lets you display chat messages in a modern way using Android's native RecyclerView. Whether you're building a chatbot, messenger, or community app — this extension gives you the control and style to make your UI shine.



:sparkles: Features

:heavy_check_mark: Right and left aligned message bubbles
:heavy_check_mark: Customize colors, corner radius, fonts, and padding
:heavy_check_mark: Smooth scroll to latest message
:heavy_check_mark: Efficient performance using RecyclerView



:jigsaw: Available Blocks

Core

  • CreateChatView(layout)
  • AddMessage(text, isSender)
  • ClearMessages()

Styling

  • BubbleColorSender(color)
  • BubbleColorReceiver(color)
  • TextColor(color)
  • TextSize(size)
  • FontBold(boolean)
  • FontItalic(boolean)
  • BubblePadding(pixels)
  • MaxBubbleWidth(pixels)
  • BubbleCornerRadius(pixels)



:framed_picture: Blocks Image




:hammer_and_wrench: How To Use

  1. Add the extension to your project
  2. Drag a VerticalArrangement (or any layout)
  3. Call CreateChatView inside that layout
  4. Add messages dynamically using AddMessage
  5. Use property blocks to customize your chat bubbles

You can style messages before adding them. Settings like bubble color or font are applied to new messages only.




:inbox_tray: Download & Source

4 Likes

If you want anything more you can tell me here freely.

1 Like

Can you add custom font ?

@Aman_Developer welcome to this community, You start with really awesome extension. :star_struck::triangular_flag_on_post::partying_face:

@Prem_Gupta Can u please read my bio!

Sure I will add!

Could you add some screenshots to show how it looks on a phone?

Here is the screenshot for V2 of the extension

1 Like

Ohhh :heart_eyes:, sorry

V1 ?

forget to publish it

So I just started from V2 as It was the proper one

1 Like
  • I added font, avatar & timestamp but can't manage to show chats properly so you will get an update tomorrow.
2 Likes

can You tell us which version of aar/jar file use, can you share the link of library?

Everything is written in documentation and the libraries are there only in my github repo.

Yes of course i read, just i want to know which version you are using :blush:

@Prem_Gupta Its written there

  • androidx.recyclerview:1.3.1
  • androidx.core:1.10.1
1 Like


Sorry for that, i read/see here :lying_face:

No problem