Fixed empty tabs
This commit is contained in:
parent
792584be70
commit
6c68564cce
|
@ -132,7 +132,7 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet)
|
|||
currentHash += it.getHashWithoutPrivatePhoto()
|
||||
}
|
||||
|
||||
if (currentHash != lastHashCode || skipHashComparing) {
|
||||
if (currentHash != lastHashCode || skipHashComparing || filtered.size == 0) {
|
||||
skipHashComparing = false
|
||||
lastHashCode = currentHash
|
||||
activity?.runOnUiThread {
|
||||
|
|
Loading…
Reference in New Issue