I am creating a typical chat application with a RecyclerView in the middle and the messaging controls at the bottom.
I would like to show a snackbar which is bound to the RecyclerView (and therefore shown at the bottom of the Recyclerview), so that it is shown above the messaging controls and not at the very bottom of the screen.
When i set snackbarChat = Snackbar.make(findViewById(R.id.recycler_view), "", Snackbar.LENGTH_INDEFINITE); the snackbar is still shown (and covering the messaging controls) at the bottom of the screen and not as intended at the bottom of the RecyclerView.
Question: How can i bin the snackbar to the screen of the Recyclerview?
Thanks for your help!