diff --git a/Samva/app/src/main/java/com/example/utilisateur/samva/ListFragment.java b/Samva/app/src/main/java/com/example/utilisateur/samva/ListFragment.java index bb432f5..9831122 100644 --- a/Samva/app/src/main/java/com/example/utilisateur/samva/ListFragment.java +++ b/Samva/app/src/main/java/com/example/utilisateur/samva/ListFragment.java @@ -28,9 +28,9 @@ public class ListFragment extends Fragment { @Nullable @Override public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { - View rootview = inflater.inflate(R.layout.list_fragment, container, false); + View rootView = inflater.inflate(R.layout.list_fragment, container, false); - rcvEvents = rootview.findViewById(R.id.a_main_rcv_events); + rcvEvents = rootView.findViewById(R.id.a_main_rcv_events); Serializable ser = getArguments().getSerializable(ARG_EVENTS); eventList = (ArrayList) ser; @@ -53,7 +53,7 @@ public void onItemClick(View view, int position) { } })); - return rootview; + return rootView; } public void onAttach(Context context) {