fix: z fighting in viewpager2 potential?
This commit is contained in:
parent
385198e69a
commit
9f4cd0ba0d
1 changed files with 6 additions and 0 deletions
|
@ -105,9 +105,15 @@ class StatsFragment :
|
|||
binding.filterContainer.visibility = View.GONE
|
||||
}
|
||||
|
||||
override fun onPause() {
|
||||
super.onPause()
|
||||
binding.statisticList.visibility = View.GONE
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
if (this::binding.isInitialized) {
|
||||
binding.statisticList.visibility = View.VISIBLE
|
||||
binding.root.requestLayout()
|
||||
if (!loadedFirstTime) {
|
||||
activity.lifecycleScope.launch {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue