Code example for Bundle

Methods: getParcelable

    protected final void handleImageLoadedMessage(Message msg) {
        Bundle data = msg.getData();
        Bitmap bitmap = data.getParcelable(BITMAP_EXTRA);
        handleImageLoaded(bitmap, msg);
     * Override this method if you need custom handler logic. Note that this method can actually be 
     * called directly for performance reasons, in which case the message will be null 
     * @param bitmap 
     *            the bitmap returned from the image loader 
     * @param msg 
     *            the handler message; can be null 
     * @return true if the view was updated with the new image, false if it was discarded 
    protected boolean handleImageLoaded(Bitmap bitmap, Message msg) {
Experience pair programming with AI  Get Codota for Java