wip: UI for comments

This commit is contained in:
aayush262 2024-02-12 01:44:36 +05:30
parent 9dbc3db1b8
commit 97b957a0ab
5 changed files with 126 additions and 1 deletions

View file

@ -504,6 +504,16 @@ class MediaInfoFragment : Fragment() {
)
parent.addView(bind.root)
}
// Comments Section
if (!offline) {
val bind = FragmentCommentsBinding.inflate(
LayoutInflater.from(context),
parent,
false
)
bind.commentsList.adapter // rebel take over
parent.addView(bind.root)
}
}
}