Skip to content

Commit

Permalink
change core list type
Browse files Browse the repository at this point in the history
  • Loading branch information
azazellj committed Oct 3, 2017
1 parent 824775f commit b8e0469
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import com.azazellj.recyclerview.adapter.common.AdapterViewHolder;

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

Expand All @@ -27,7 +28,7 @@ public abstract class BaseAdapter<E, VH extends AdapterViewHolder>
* Base container.
*/
@NonNull
private List<E> mList = Collections.emptyList();
private List<E> mList = new ArrayList<>();

/**
* Default constructor.
Expand Down

0 comments on commit b8e0469

Please sign in to comment.