fix .. entry disappearing if listview is empty
This commit is contained in:
parent
be1e45e9f2
commit
af2d3cfc54
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.fox.ttrss"
|
||||
android:versionCode="271"
|
||||
android:versionName="1.64" >
|
||||
android:versionCode="272"
|
||||
android:versionName="1.65" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="9"
|
||||
|
@ -591,6 +591,12 @@ public class FeedsFragment extends Fragment implements OnItemClickListener, OnSh
|
||||
this.items = items;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return m_enableParentBtn ? false : super.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getViewTypeCount() {
|
||||
return VIEW_COUNT;
|
||||
}
|
||||
|
@ -281,6 +281,11 @@ public class OfflineFeedsFragment extends Fragment implements OnItemClickListene
|
||||
return VIEW_COUNT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return m_enableParentBtn ? false : super.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getItemViewType(int position) {
|
||||
Cursor cursor = (Cursor) this.getItem(position);
|
||||
|
Loading…
Reference in New Issue
Block a user