stop refreshing swipe layout on Back press
This commit is contained in:
parent
37d6c98d58
commit
d54226d255
|
@ -188,6 +188,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
|||
}
|
||||
|
||||
override fun onBackPressed() {
|
||||
swipe_refresh_layout.isRefreshing = false
|
||||
if (currentFragments.size > 1) {
|
||||
removeTopFragment()
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue