Bottom-to-top chat-style reversed RecyclerView

To turn a RecycerView upside-down, and add elements from the bottom like a chat window, use this:

recyvlerView.layoutManager = LinearLayoutManager(context).apply {
	reverseLayout = true
	stackFromEnd = true
}