CommentLocalCacheDelegate

Interface for managing local caching of comment-related data.

Functions

Link copied to clipboard
abstract fun getCommentCount(): Int

Retrieve the count of comments.

Link copied to clipboard

Retrieve the stored comment reply map.

Link copied to clipboard

Retrieve the stored original comment reply map.

Link copied to clipboard
abstract fun saveCommentCount(count: Int)

Save the count of comments.

Link copied to clipboard
abstract fun saveHashmaps(commentReplyMap: Map<String, List<Comment>>, originalCommentReplyMap: Map<String, List<Comment>>)

Save or update two maps: one containing comment replies and another containing original comment replies.