it is a bit ugly to let the scroller top jump around
}
public void onRetrieveDone(boolean success) {
- progressBar.setVisibility(View.GONE);
+ progressBar.setVisibility(View.INVISIBLE);
swiper.setRefreshing(false);
updateLastUpdateText();
if (success) {
android:indeterminate="true"
android:indeterminateBehavior="cycle"
android:progressTint="@color/colorPrimary"
- android:visibility="gone"
+ android:visibility="invisible"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/last_update_row" />