mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
docs: add comment to clarify visibility logic in ImageFragment
This commit is contained in:
parent
72e077c9dd
commit
30be98cc83
1 changed files with 4 additions and 0 deletions
|
|
@ -252,6 +252,10 @@ class ImageFragment :
|
|||
return binding?.root
|
||||
}
|
||||
|
||||
/**
|
||||
* onViewCreated
|
||||
* Updates empty text view visibility based on image count, switch state, and loading status.
|
||||
*/
|
||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||
super.onViewCreated(view, savedInstanceState)
|
||||
viewLifecycleOwner.lifecycleScope.launch {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue