updatePosts

fun updatePosts(newPosts: List<Post>)

Updates the highlights displayed through the adapter.

Parameters

newPosts

List of new highlights to be displayed through the adapter.