1
0
Fork 0
mirror of https://github.com/KokaKiwi/BarInsta synced 2026-03-04 03:21:36 +00:00

close #115, close #118, close #120, close #123

This commit is contained in:
Austin Huang 2020-09-06 17:26:45 -04:00
parent 9bf96cfe73
commit bdb8ee6d75
No known key found for this signature in database
GPG key ID: 84C23AA04587A91F
3 changed files with 5 additions and 7 deletions

View file

@ -59,7 +59,7 @@ public final class SavedViewer extends BaseLanguageActivity implements SwipeRefr
@Override
public void onResult(final PostModel[] result) {
final int oldSize = allItems.size();
if (result != null) {
if (result != null && result.length > 0) {
allItems.addAll(Arrays.asList(result));
postsAdapter.notifyItemRangeInserted(oldSize, result.length);