app/src/main/java/ch/epfl/culturequest/utils/CustomSnackbar.java
Method showCustomSnackbar
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void showCustomSnackbar(String message, int imageResourceName, View rootView, Function<Void, Void> callback) {
// Inflate custom Snackbar layout
LayoutInflater inflater = LayoutInflater.from(rootView.getContext());
View customView = inflater.inflate(R.layout.custom_snackbar, null);