Skip to content

Commit

Permalink
refactor: refactor var
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeCrp committed Dec 1, 2018
1 parent fdf0b7c commit 7f9f424
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Event>) ser;
Expand All @@ -53,7 +53,7 @@ public void onItemClick(View view, int position) {
}
}));

return rootview;
return rootView;
}

public void onAttach(Context context) {
Expand Down

0 comments on commit 7f9f424

Please sign in to comment.