Firebase List Adapter Constructor error
I created a function to display a chat message, I followed a tutorial, and I also looked at the documentation for the Firebase list adapter, but no matter what I do, I get this error: Error:(98, 19) error: constructor FirebaseListAdapter in class FirebaseListAdapter<T> cannot be applied to given types; required: FirebaseListOptions<ChatMessage> found: Chat,Class<ChatMessage>,int,DatabaseReference reason: actual and formal argument lists differ in length where T is a type-variable: T extends Object declared in class FirebaseListAdapter Here is my code: private void displayChatMessage() {