This commit is contained in:
Grishka 2023-06-04 23:02:48 +03:00
parent 315d26ad52
commit 6ede2d22bb
1 changed files with 12 additions and 0 deletions

View File

@ -164,4 +164,16 @@ public class ThreadFragment extends StatusListFragment{
protected boolean needDividerForExtraItem(View child, View bottomSibling, RecyclerView.ViewHolder holder, RecyclerView.ViewHolder siblingHolder){ protected boolean needDividerForExtraItem(View child, View bottomSibling, RecyclerView.ViewHolder holder, RecyclerView.ViewHolder siblingHolder){
return bottomSibling==endMark; return bottomSibling==endMark;
} }
@Override
protected void onErrorRetryClick(){
if(preloadingFailed){
preloadingFailed=false;
V.setVisibilityAnimated(footerProgress, View.VISIBLE);
V.setVisibilityAnimated(footerError, View.GONE);
doLoadData();
return;
}
super.onErrorRetryClick();
}
} }