reset headline progressbar on starting to load image
This commit is contained in:
parent
df35107e35
commit
1a2bbc92c1
@ -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="368"
|
android:versionCode="369"
|
||||||
android:versionName="1.141" >
|
android:versionName="1.142" >
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="15"
|
android:minSdkVersion="15"
|
||||||
|
@ -1169,6 +1169,8 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
|||||||
@Override
|
@Override
|
||||||
public void onLoadingStarted(String s, View view) {
|
public void onLoadingStarted(String s, View view) {
|
||||||
holder.flavorImageLoadingBar.setVisibility(View.VISIBLE);
|
holder.flavorImageLoadingBar.setVisibility(View.VISIBLE);
|
||||||
|
holder.flavorImageLoadingBar.setIndeterminate(false);
|
||||||
|
holder.flavorImageLoadingBar.setProgress(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -1278,6 +1280,8 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
|||||||
@Override
|
@Override
|
||||||
public void onLoadingStarted(String s, View view) {
|
public void onLoadingStarted(String s, View view) {
|
||||||
holder.flavorImageLoadingBar.setVisibility(View.VISIBLE);
|
holder.flavorImageLoadingBar.setVisibility(View.VISIBLE);
|
||||||
|
holder.flavorImageLoadingBar.setIndeterminate(false);
|
||||||
|
holder.flavorImageLoadingBar.setProgress(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -1438,6 +1442,8 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
|||||||
public void onLoadingStarted(String arg0,
|
public void onLoadingStarted(String arg0,
|
||||||
View arg1) {
|
View arg1) {
|
||||||
holder.flavorImageLoadingBar.setVisibility(View.VISIBLE);
|
holder.flavorImageLoadingBar.setVisibility(View.VISIBLE);
|
||||||
|
holder.flavorImageLoadingBar.setIndeterminate(false);
|
||||||
|
holder.flavorImageLoadingBar.setProgress(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
}, new ImageLoadingProgressListener() {
|
}, new ImageLoadingProgressListener() {
|
||||||
|
Loading…
Reference in New Issue
Block a user