src/main/java/de/blau/android/util/Snack.java
/**
     * Display a snackbar with a warning
     * 
     * @param v view to display the snackbar on
     * @param res resource id of the message to display
     * @param duration how long to display the message in ms
     */
Display a snackbar with a warning

@param v view to display the snackbar on
@param res resource id of the message to display
@param duration how long to display the message in ms
Display a snackbar with a warning @param v view to display the snackbar on @param res resource id of the message to display @param duration how long to display the message in ms
public static void barWarning(@Nullable View v, int res, int duration) {
        if (v == null) {
            Log.e(DEBUG_TAG, NULL_VIEW_IN_BAR_WARNING);
            return;
        }
        barWarning(v, Snackbar.make(v, res, duration));
    }
public static void barWarning ( @ Nullable View v , int res , int duration ) { if ( v == null ) { Log . e ( DEBUG_TAG , NULL_VIEW_IN_BAR_WARNING ) ; return ; } barWarning ( v , Snackbar . make ( v , res , duration ) ) ; }
Display a snackbar with a warning
Display a snackbar with a warning