First implementation of scheduleWork method

Reviewed By: shergin

Differential Revision: D7799412

fbshipit-source-id: b78a0bc0e80868f6877a31f862d7e6104fd4a049
This commit is contained in:
David Vacca
2018-05-30 21:48:57 -07:00
committed by Facebook Github Bot
parent 58ea20b5e8
commit a04ad8d8fb
5 changed files with 97 additions and 24 deletions

View File

@@ -7,17 +7,14 @@
package com.facebook.react.views.image;
import javax.annotation.Nullable;
import android.support.annotation.IntDef;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.WritableMap;
import com.facebook.react.uimanager.events.Event;
import com.facebook.react.uimanager.events.RCTEventEmitter;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import javax.annotation.Nullable;
public class ImageLoadEvent extends Event<ImageLoadEvent> {
@IntDef({ON_ERROR, ON_LOAD, ON_LOAD_END, ON_LOAD_START, ON_PROGRESS})