do not try to load new stuff in pager on tablets
This commit is contained in:
parent
51b0bbf19f
commit
2d1b3c2dba
@ -109,7 +109,7 @@ public class ArticlePager extends Fragment {
|
|||||||
|
|
||||||
//Log.d(TAG, "Page #" + position + "/" + m_adapter.getCount());
|
//Log.d(TAG, "Page #" + position + "/" + m_adapter.getCount());
|
||||||
|
|
||||||
if (position == m_adapter.getCount() - 5) {
|
if (m_activity.isSmallScreen() && position == m_adapter.getCount() - 5) {
|
||||||
Log.d(TAG, "loading more articles...");
|
Log.d(TAG, "loading more articles...");
|
||||||
loadMoreArticles();
|
loadMoreArticles();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user