src/main/java/de/blau/android/util/Snack.java
/**
     * Display an info toast underneath the top action bar
     * 
     * @param context Android Context that called this
     * @param msg the message to display
     */
Display an info toast underneath the top action bar

@param context Android Context that called this
@param msg the message to display
Display an info toast underneath the top action bar @param context Android Context that called this @param msg the message to display
public static void toastTopInfo(@Nullable Context context, @NonNull String msg) {
        if (context != null) {
            toastTop(context, msg, ThemeUtils.getStyleAttribColorValue(context, R.attr.snack_info, R.color.material_teal), Toast.LENGTH_SHORT);
        }
    }
public static void toastTopInfo ( @ Nullable Context context , @ NonNull String msg ) { if ( context != null ) { toastTop ( context , msg , ThemeUtils . getStyleAttribColorValue ( context , R . attr . snack_info , R . color . material_teal ) , Toast . LENGTH_SHORT ) ; } }
Display an info toast underneath the top action bar
Display an info toast underneath the top action bar