Implement Cloning for ART Views

Reviewed By: achen1

Differential Revision: D7058410

fbshipit-source-id: 394330654be1ab70853f78580c2543e04a3efb7c
This commit is contained in:
David Vacca
2018-02-23 17:28:32 -08:00
committed by Facebook Github Bot
parent 486ac9dc82
commit 1b63da753f
6 changed files with 69 additions and 6 deletions
@@ -0,0 +1,11 @@
package com.facebook.react.common;
import java.util.Arrays;
public class ArrayUtils {
public static float[] copyArray(float[] array) {
return array == null ? null : Arrays.copyOf(array, array.length);
}
}