Files
react-native/ReactCommon/fabric/imagemanager/platform/android/ImageRequest.cpp
David Vacca 0984196220 Make image to work
Summary: ImageManager is used to update the LocalData of Image views, as part of this process we call ImageManager::requestImage in cross platform code. Event if Android doesn't use ImageRequest we need to return an empty non-operation version of this object.

Reviewed By: shergin

Differential Revision: D10429663

fbshipit-source-id: 3621ece72f7291e2e6ab6a84b238ac16b595fc18
2018-10-22 01:07:45 -07:00

38 lines
849 B
C++

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ImageRequest.h"
namespace facebook {
namespace react {
ImageRequest::ImageRequest() {}
ImageRequest::ImageRequest(
const ImageSource &imageSource,
folly::Future<ImageResponse> &&responseFuture) {
// Not implemented.
}
ImageRequest::ImageRequest(ImageRequest &&other) noexcept
: imageSource_(std::move(other.imageSource_)),
responseFutureSplitter_(std::move(other.responseFutureSplitter_)) {
// Not implemented.
}
ImageRequest::~ImageRequest() {
// Not implemented.
}
folly::Future<ImageResponse> ImageRequest::getResponseFuture() const {
// Not implemented.
abort();
}
} // namespace react
} // namespace facebook