aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/com/example/wiimmterfaceandroid/WatchCodeFragment.java
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-05-05 00:01:19 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-05-05 00:01:19 -0600
commit8a2c211fa2e334b7646d0b9523e1b62743d9dd96 (patch)
treea0ee4ac5720cadf7ffda60dcd7f6d225a2b79325 /app/src/main/java/com/example/wiimmterfaceandroid/WatchCodeFragment.java
parentb202760cdc2b443fd07dcee593ed7f3e09d6b77b (diff)
downloadwiimmfi-watcher-8a2c211fa2e334b7646d0b9523e1b62743d9dd96.tar
wiimmfi-watcher-8a2c211fa2e334b7646d0b9523e1b62743d9dd96.tar.gz
wiimmfi-watcher-8a2c211fa2e334b7646d0b9523e1b62743d9dd96.tar.bz2
finished final project
Diffstat (limited to 'app/src/main/java/com/example/wiimmterfaceandroid/WatchCodeFragment.java')
-rw-r--r--app/src/main/java/com/example/wiimmterfaceandroid/WatchCodeFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/example/wiimmterfaceandroid/WatchCodeFragment.java b/app/src/main/java/com/example/wiimmterfaceandroid/WatchCodeFragment.java
index 67dfdcd..6de02dc 100644
--- a/app/src/main/java/com/example/wiimmterfaceandroid/WatchCodeFragment.java
+++ b/app/src/main/java/com/example/wiimmterfaceandroid/WatchCodeFragment.java
@@ -44,7 +44,7 @@ public class WatchCodeFragment extends Fragment {
super.onViewCreated(view, savedInstanceState);
FriendCodeViewModel viewModel = new ViewModelProvider(getActivity()).get(FriendCodeViewModel.class);
- WatchCodeAdapter adapter = new WatchCodeAdapter(viewModel.getEntries());
+ WatchCodeAdapter adapter = new WatchCodeAdapter(getContext(), viewModel.getEntries());
viewModel.getEntries().addOnListChangedCallback(new ObservableList.OnListChangedCallback<ObservableList<FriendCode>>() {
@Override
public void onChanged(ObservableList<FriendCode> sender) {