set Search Post Results
private fun setSearchPostResults(dataPosts: ArrayList<Post>, dataUsers: ArrayList<User>)
Content copied to clipboard
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.