diff options
Diffstat (limited to 'org.fox.ttrss/src/main/java/org/fox/ttrss/util/HeadlinesRequest.java')
-rwxr-xr-x | org.fox.ttrss/src/main/java/org/fox/ttrss/util/HeadlinesRequest.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/util/HeadlinesRequest.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/util/HeadlinesRequest.java index 8cb1a3c1..f87a4d2b 100755 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/util/HeadlinesRequest.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/util/HeadlinesRequest.java @@ -11,6 +11,7 @@ import com.google.gson.reflect.TypeToken; import org.fox.ttrss.ApiCommon; import org.fox.ttrss.ApiRequest; +import org.fox.ttrss.HeadlinesFragment; import org.fox.ttrss.OnlineActivity; import org.fox.ttrss.types.Article; import org.fox.ttrss.types.ArticleList; @@ -20,9 +21,6 @@ import java.lang.reflect.Type; import java.util.List; public class HeadlinesRequest extends ApiRequest { - public static final int HEADLINES_REQUEST_SIZE = 30; - public static final int HEADLINES_BUFFER_MAX = 1500; - private final String TAG = this.getClass().getSimpleName(); private int m_offset = 0; @@ -83,7 +81,7 @@ public class HeadlinesRequest extends ApiRequest { if (m_offset == 0) { m_articles.clear(); } else { - while (m_articles.size() > HEADLINES_BUFFER_MAX) { + while (m_articles.size() > HeadlinesFragment.HEADLINES_BUFFER_MAX) { m_articles.remove(0); } |