another day, another fix for headlines fragment
This commit is contained in:
parent
41e9e574eb
commit
e0a74a352b
@ -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="393"
|
||||
android:versionName="1.162" >
|
||||
android:versionCode="394"
|
||||
android:versionName="1.163" >
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="16"
|
||||
|
@ -965,6 +965,8 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
||||
holder = (HeadlineViewHolder) v.getTag();
|
||||
}
|
||||
|
||||
//Log.d(TAG, "getView: " + position + ":" + article.title);
|
||||
|
||||
holder.position = position;
|
||||
|
||||
// block footer clicks to make button/selection clicking easier
|
||||
@ -1196,9 +1198,10 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
||||
if (position == holder.position && bitmap != null) {
|
||||
|
||||
holder.flavorImageLoadingBar.setVisibility(View.GONE);
|
||||
holder.flavorImageView.setTag(article.flavorImageUri);
|
||||
|
||||
if (bitmap.getWidth() > FLAVOR_IMG_MIN_SIZE && bitmap.getHeight() > FLAVOR_IMG_MIN_SIZE) {
|
||||
holder.flavorImageView.setTag(article.flavorImageUri);
|
||||
|
||||
holder.flavorImageView.setVisibility(View.VISIBLE);
|
||||
holder.flavorImageOverflow.setVisibility(View.VISIBLE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user