Example usage for com.facebook.react.views.image ReactImageView setSource

List of usage examples for com.facebook.react.views.image ReactImageView setSource

Introduction

In this page you can find the example usage for com.facebook.react.views.image ReactImageView setSource.

Prototype

public void setSource(@Nullable ReadableArray sources) 

Source Link

Usage

From source file:com.android.qatest.rct.RCTImageManager.java

License:Open Source License

@ReactProp(name = "source")
public void setSource(ReactImageView view, @Nullable ReadableArray sources) {
    Log.v(REACT_CLASS, sources.toString());
    try {//from  w  w  w. j  a v  a  2s .c o  m
        view.setSource(sources);
    } catch (Exception e) {

    }
}