From 7f9f424d40a142a09c90ee4727041b2f3df22e2c Mon Sep 17 00:00:00 2001 From: Maxime Date: Sat, 1 Dec 2018 12:46:19 +0100 Subject: [PATCH] refactor: refactor var --- .../java/com/example/utilisateur/samva/ListFragment.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) {