mirror of
https://github.com/KokaKiwi/BarInsta
synced 2026-03-04 03:21:36 +00:00
parent
9bf96cfe73
commit
bdb8ee6d75
3 changed files with 5 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue