Fetch articles only when the home activity is created. (#335)
This commit is contained in:
1 parent
e62e04e13b
commit
a025efbf3b
1 file changed
+2
-2
@@ -189,6 +189,8 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener {
|
||||
handleDrawer()
|
||||
|
||||
handleSwipeRefreshLayout()
|
||||
|
||||
getElementsAccordingToTab()
|
||||
}
|
||||
|
||||
private fun handleSwipeRefreshLayout() {
|
||||
@@ -350,8 +352,6 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener {
|
||||
|
||||
handleBottomBarActions()
|
||||
|
||||
getElementsAccordingToTab()
|
||||
|
||||
handleRecurringTask()
|
||||
|
||||
handleOfflineActions()
|
||||
|
||||
Reference in new issue
Block a user