mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-01 09:23:16 +08:00
Cleanup React comments and unused imports
Summary: Fix some typos in comments. Reviewed By: astreet Differential Revision: D3161278 fb-gh-sync-id: 11612487aa5fee5463942d3467f46633ccd9db15 fbshipit-source-id: 11612487aa5fee5463942d3467f46633ccd9db15
This commit is contained in:
committed by
Facebook Github Bot 8
parent
6b61e5927c
commit
c91591b987
@@ -9,7 +9,6 @@
|
||||
|
||||
package com.facebook.react.uimanager;
|
||||
|
||||
import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
|
||||
/**
|
||||
|
||||
@@ -28,7 +28,7 @@ public interface ReactClippingViewGroup {
|
||||
|
||||
/**
|
||||
* Notify view that clipping area may have changed and it should recalculate the list of children
|
||||
* that shold be attached/detached. This method should be called only when property
|
||||
* that should be attached/detached. This method should be called only when property
|
||||
* {@code removeClippedSubviews} is set to {@code true} on a view.
|
||||
*
|
||||
* CAUTION: Views are responsible for calling {@link #updateClippingRect} on it's children. This
|
||||
|
||||
@@ -80,7 +80,7 @@ public class ReactViewGroup extends ViewGroup implements
|
||||
// temporary optimization/hack that is mainly applicable to the large list of images. The way
|
||||
// it's implemented is that we store an additional array of children in view node. We selectively
|
||||
// remove some of the views (detach) from it while still storing them in that additional array.
|
||||
// We override all possible add methods for {@link ViewGroup} so that we can controll this process
|
||||
// We override all possible add methods for {@link ViewGroup} so that we can control this process
|
||||
// whenever the option is set. We also override {@link ViewGroup#getChildAt} and
|
||||
// {@link ViewGroup#getChildCount} so those methods may return views that are not attached.
|
||||
// This is risky but allows us to perform a correct cleanup in {@link NativeViewHierarchyManager}.
|
||||
|
||||
Reference in New Issue
Block a user