|
@@ -12,7 +12,7 @@ import com.reactnativenavigation.NavigationApplication;
|
12
|
12
|
import java.util.concurrent.atomic.AtomicInteger;
|
13
|
13
|
|
14
|
14
|
public class ViewUtils {
|
15
|
|
- private static final AtomicInteger viewId = new AtomicInteger();
|
|
15
|
+ private static final AtomicInteger viewId = new AtomicInteger(1);
|
16
|
16
|
|
17
|
17
|
public static void runOnPreDraw(final View view, final Runnable task) {
|
18
|
18
|
view.getViewTreeObserver().addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() {
|