Code example for Bundle

Methods: getSerializable

0
     * @param arguments 
     * @return selected labels 
     */ 
    @SuppressWarnings("unchecked") 
    public static ArrayList<Label> getSelected(Bundle arguments) {
        return (ArrayList<Label>) arguments.getSerializable(ARG_SELECTED);
    } 
 
    /** 
     * Confirm message and deliver callback to given activity 
     * 
     * @param activity 
     * @param requestCode 
     * @param title 
     * @param message 
     * @param choices 
     * @param selectedChoices 
     */ 
    public static void show(final DialogFragmentActivity activity,
            final int requestCode, final String title, final String message,
Experience pair programming with AI  Get Codota for Java