I want to create a chat activity that will use data from Firestore database and display messages in two different layouts.
For that I'm gonna need an adapter
with multiple view types. Tried using a single view type and hiding TextViews
and it resulted in display problems in the app.
I found solutions to create such an adapter for either Firebase Realtime Database or javascript, but I can't find any for Firestore Database and Java using Android Studio. How should I proceed?