feat: better notification
This commit is contained in:
parent
2f7c6e734e
commit
e256fb1560
8 changed files with 131 additions and 27 deletions
|
@ -348,7 +348,6 @@ class CommentsFragment : Fragment() {
|
|||
@SuppressLint("NotifyDataSetChanged")
|
||||
override fun onStart() {
|
||||
super.onStart()
|
||||
adapter.notifyDataSetChanged()
|
||||
}
|
||||
|
||||
@SuppressLint("NotifyDataSetChanged")
|
||||
|
@ -423,6 +422,10 @@ class CommentsFragment : Fragment() {
|
|||
)
|
||||
}
|
||||
}
|
||||
|
||||
binding.commentsProgressBar.visibility = View.GONE
|
||||
binding.commentsList.visibility = View.VISIBLE
|
||||
adapter.add(section)
|
||||
}
|
||||
|
||||
private fun sortComments(comments: List<Comment>?): List<Comment> {
|
||||
|
@ -693,7 +696,7 @@ class CommentsFragment : Fragment() {
|
|||
.usePlugin(TaskListPlugin.create(activity))
|
||||
.usePlugin(HtmlPlugin.create { plugin ->
|
||||
plugin.addHandler(
|
||||
TagHandlerNoOp.create("h1", "h2", "h3", "h4", "h5", "h6", "hr", "pre")
|
||||
TagHandlerNoOp.create("h1", "h2", "h3", "h4", "h5", "h6", "hr", "pre", "a")
|
||||
)
|
||||
})
|
||||
.usePlugin(GlideImagesPlugin.create(object : GlideImagesPlugin.GlideStore {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue