Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAman Dhapola
Courses Plus Student 6,455 PointsAdding Real time chat service like whatsapp
How to add real time messaging and chat service to this app??
1 Answer
Connor Myers
21,089 PointsYou would need to create 2 listviews to put onto their respective sides of the screen, and a custom layout with an edit textfield at the bottom to add text and then attach whatever it is that you need as well as a button to send the message to update the textfields in the custom listview that you have created. If you want to get even more fancy you can add the time the message was created in the listview as a text view using the Date java class.