I am trying to use FirebaseRecyclerAdapter in my chat application but it is not displaying anything.
Can anyone help?
Here are my codes: https://gist.github.com/omermujtaba/0f5dfdf0e021be87b875e6ac6b30b403
As in my answer from the post that I gave you as an example in my comment above, the difference is that you need to move the creation of the adapter inside the onCreate()
method and not to keep it inside the onStart()
method. In the last one you should start listening for changes.