getSearchPostResults

private fun getSearchPostResults(searchPost: String, dataUsers: ArrayList<User>)

Retrieves the list of matching posts based on the user's search query.

Parameters

searchPost

The user's search query.

dataUsers

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