covert RNFeedPackage and it's modules to use @ReactModule and @ReactModuleList

Reviewed By: lexs

Differential Revision: D3796860

fbshipit-source-id: d4b5f3635754ef28277b79cb1ea9bab07ba3ea6e
This commit is contained in:
Aaron Chiu
2016-09-02 16:28:43 -07:00
committed by Facebook Github Bot 2
parent 6c909ef80d
commit 3d1b79cd15
53 changed files with 219 additions and 134 deletions
@@ -12,6 +12,7 @@ android_library(
react_native_dep('third-party/java/jsr-305:jsr-305'),
react_native_target('java/com/facebook/react/bridge:bridge'),
react_native_target('java/com/facebook/react/common:common'),
react_native_target('java/com/facebook/react/module/annotations:annotations'),
],
visibility = [
'PUBLIC',
@@ -33,7 +33,9 @@ import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.bridge.WritableMap;
import com.facebook.react.module.annotations.ReactModule;
@ReactModule(name = "ImageLoader")
public class ImageLoaderModule extends ReactContextBaseJavaModule implements
LifecycleEventListener {