wip: UI for comments
This commit is contained in:
parent
9dbc3db1b8
commit
97b957a0ab
5 changed files with 126 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue