#pragma once #include #include #include #ifdef ANDROID #include #include #include #endif namespace facebook { namespace react { class JSI_EXPORT RNCAndroidDropdownPickerState final { public: using Shared = std::shared_ptr; RNCAndroidDropdownPickerState() : measuredHeight(0){}; RNCAndroidDropdownPickerState(float measuredHeight_) : measuredHeight(measuredHeight_){}; #ifdef ANDROID RNCAndroidDropdownPickerState( RNCAndroidDropdownPickerState const &previousState, folly::dynamic data) : measuredHeight((Float)data["measuredHeight"].getDouble()){}; #endif const float measuredHeight; #ifdef ANDROID folly::dynamic getDynamic() const; MapBuffer getMapBuffer() const { return MapBufferBuilder::EMPTY(); }; #endif #pragma mark - Getters }; } // namespace react } // namespace facebook