mirror of
https://github.com/accelforce/Yuito
synced 2025-01-02 19:18:33 +01:00
fix empty message view showing/hiding at the wrong times
This commit is contained in:
parent
28c1c90a98
commit
5131c44e93
@ -300,6 +300,9 @@ public class TimelineFragment extends SFragment implements
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(statuses.size() == 0) {
|
||||||
|
nothingMessageView.setVisibility(View.VISIBLE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -820,6 +823,8 @@ public class TimelineFragment extends SFragment implements
|
|||||||
swipeRefreshLayout.setRefreshing(false);
|
swipeRefreshLayout.setRefreshing(false);
|
||||||
if (this.statuses.size() == 0) {
|
if (this.statuses.size() == 0) {
|
||||||
nothingMessageView.setVisibility(View.VISIBLE);
|
nothingMessageView.setVisibility(View.VISIBLE);
|
||||||
|
} else {
|
||||||
|
nothingMessageView.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user