Browse Source

Fix headline reqeust will be sent multi times.

bluesky139 9 months ago
parent
commit
2bcf82b648
1 changed files with 1 additions and 0 deletions
  1. 1 0
      org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java

+ 1 - 0
org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java

@@ -512,6 +512,7 @@ public class HeadlinesFragment extends StateSavedFragment {
 				//Log.d(TAG, "onScrolled: " + m_refreshInProgress + " " + m_lazyLoadDisabled + " " + lastVisibleItem + " " + m_articles.size());
 
 				if (!m_refreshInProgress && !m_lazyLoadDisabled && lastVisibleItem >= m_articles.size() - 5) {
+					m_refreshInProgress = true;
 					new Handler().postDelayed(new Runnable() {
 						@Override
 						public void run() {