Skip to content

Commit

Permalink
style: delete debugging toasts
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeCrp committed Dec 1, 2018
1 parent d313e9b commit 17e1596
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Toast;

import java.io.Serializable;
import java.util.ArrayList;
Expand All @@ -36,10 +35,7 @@ public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup c
Serializable ser = getArguments().getSerializable(ARG_EVENTS);
eventList = (ArrayList<Event>) ser;


Context context = getContext();
Toast toast = Toast.makeText(context, "Taille de la liste reçue : " + eventList.size(), Toast.LENGTH_LONG);
toast.show();

// use a linear layout manager
RecyclerView.LayoutManager layoutManager = new LinearLayoutManager(context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ public void onCancelled(@NonNull DatabaseError databaseError) {
public void createFragment() {

Context context = getApplicationContext();
Toast toast = Toast.makeText(context, "test : "+ this.events.size(), Toast.LENGTH_LONG);
toast.show();
fragmentManager = getSupportFragmentManager();
fragmentTransaction = fragmentManager.beginTransaction();
mapsFragment = new MapsFragment();
Expand Down

0 comments on commit 17e1596

Please sign in to comment.