plotline-engage 4.1.2 → 4.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/build.gradle
CHANGED
|
@@ -8,7 +8,6 @@ import so.plotline.insights.PlotlineWidget;
|
|
|
8
8
|
|
|
9
9
|
public class PlotlineViewManager extends ViewGroupManager<PlotlineWrapperView> {
|
|
10
10
|
public static final String REACT_CLASS = "PlotlineView";
|
|
11
|
-
private String testId;
|
|
12
11
|
|
|
13
12
|
@Override
|
|
14
13
|
public String getName() {
|
|
@@ -19,14 +18,12 @@ public class PlotlineViewManager extends ViewGroupManager<PlotlineWrapperView> {
|
|
|
19
18
|
public void setTestId(PlotlineWrapperView view, String testID) {
|
|
20
19
|
PlotlineWidget widget = (PlotlineWidget) view.getContentView();
|
|
21
20
|
widget.setElementId(testID);
|
|
22
|
-
widget.setTag(testID);
|
|
23
|
-
this.testId = testID;
|
|
24
21
|
}
|
|
25
22
|
|
|
26
23
|
@Override
|
|
27
24
|
protected PlotlineWrapperView createViewInstance(ThemedReactContext reactContext) {
|
|
28
25
|
PlotlineWrapperView wrapperView = new PlotlineWrapperView(reactContext);
|
|
29
|
-
PlotlineWidget plotlineWidget = new PlotlineWidget(reactContext
|
|
26
|
+
PlotlineWidget plotlineWidget = new PlotlineWidget(reactContext);
|
|
30
27
|
wrapperView.setContentView(plotlineWidget);
|
|
31
28
|
return wrapperView;
|
|
32
29
|
}
|