flip some activity check at refreshing events
This commit is contained in:
parent
907abbf5cf
commit
e47ab2f145
|
@ -574,8 +574,8 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
|||
}
|
||||
|
||||
private fun refreshViewPager() {
|
||||
if (!isActivityDestroyed()) {
|
||||
runOnUiThread {
|
||||
runOnUiThread {
|
||||
if (!isActivityDestroyed()) {
|
||||
currentFragments.last().refreshEvents()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue