fix headlinesfragment loading constantly if received < request size
This commit is contained in:
parent
f0de531e2e
commit
bcd19a284e
|
@ -1,8 +1,8 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="org.fox.ttrss"
|
package="org.fox.ttrss"
|
||||||
android:versionCode="410"
|
android:versionCode="411"
|
||||||
android:versionName="1.176" >
|
android:versionName="1.177" >
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="16"
|
android:minSdkVersion="16"
|
||||||
|
|
|
@ -638,6 +638,10 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
||||||
m_list.addFooterView(m_topChangedView, null, false);
|
m_list.addFooterView(m_topChangedView, null, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_amountLoaded < HEADLINES_REQUEST_SIZE) {
|
||||||
|
m_lazyLoadDisabled = true;
|
||||||
|
}
|
||||||
|
|
||||||
HeadlinesFragment.this.m_firstId = m_firstId;
|
HeadlinesFragment.this.m_firstId = m_firstId;
|
||||||
|
|
||||||
m_adapter.notifyDataSetChanged();
|
m_adapter.notifyDataSetChanged();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user