updatePosts

fun updatePosts(newPosts: List<Post>)

Updates the bookmarks displayed through the adapter.

Parameters

newPosts

List of new bookmarks to be displayed through the adapter.