setSearchPostResults

private fun setSearchPostResults(dataPosts: ArrayList<Post>, dataUsers: ArrayList<User>)

Sets the list of matching posts based on the user's search query onto the activity layout.

Parameters

dataPosts

Array list of posts matching the user's search query.

dataUsers

Array list of users matching the user's search query.