Skip to content

Commit

Permalink
fix: reinitialize itemList array
Browse files Browse the repository at this point in the history
  • Loading branch information
jdrco committed Nov 9, 2023
1 parent 931a16a commit fc07796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/example/househomey/HomeFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
public class HomeFragment extends Fragment implements FilterCallback {
private CollectionReference itemRef;
private ListView itemListView;
private ArrayList<Item> itemList;
private ArrayList<Item> itemList = new ArrayList<>();;
private Set<Filter> appliedFilters = new HashSet<>();
private ArrayAdapter<Item> itemAdapter;

Expand Down

0 comments on commit fc07796

Please sign in to comment.