Skip to content

Commit

Permalink
change signature to List instead of ArrayList
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivchar Vitaly committed Mar 14, 2017
1 parent 74a270e commit a10fea3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import android.view.ViewGroup;

import java.util.ArrayList;
import java.util.List;

/**
* Created by Vivchar Vitaly on 1/9/17.
Expand Down Expand Up @@ -78,7 +79,7 @@ int getItemCount() {
}

public
void setItems(@NonNull final ArrayList<ItemModel> items) {
void setItems(@NonNull final List<ItemModel> items) {
mItems.clear();
mItems.addAll(items);
}
Expand Down

0 comments on commit a10fea3

Please sign in to comment.