@@ -54,13 +54,13 @@ public class ReactViewGroup extends ViewGroup implements
54
54
55
55
/**
56
56
* This listener will be set for child views when removeClippedSubview property is enabled. When
57
- * children layout is updated, it will call {@link #updateSubviewClipStatus} to notify parent view
58
- * about that fact so that view can be attached/detached if necessary.
57
+ * children layout is updated, it will call {@link #updateSubviewClipStatus} to notify parent
58
+ * view about that fact so that view can be attached/detached if necessary.
59
59
*
60
- * <p> TODO(7728005): Attach/detach views in batch - once per frame in case when multiple children
60
+ * TODO(7728005): Attach/detach views in batch - once per frame in case when multiple children
61
61
* update their layout.
62
62
*/
63
- private static final class ChildrenLayoutChangeListener implements View . OnLayoutChangeListener {
63
+ private static final class ChildrenLayoutChangeListener implements OnLayoutChangeListener {
64
64
65
65
private final ReactViewGroup mParent ;
66
66
@@ -422,7 +422,7 @@ protected void onAttachedToWindow() {
422
422
}
423
423
424
424
@ Override
425
- public void addView (View child , int index , ViewGroup . LayoutParams params ) {
425
+ public void addView (View child , int index , LayoutParams params ) {
426
426
// This will get called for every overload of addView so there is not need to override every method.
427
427
mDrawingOrderHelper .handleAddView (child );
428
428
setChildrenDrawingOrderEnabled (mDrawingOrderHelper .shouldEnableCustomDrawingOrder ());
@@ -494,8 +494,7 @@ protected void dispatchSetPressed(boolean pressed) {
494
494
addViewWithSubviewClippingEnabled (child , index , sDefaultLayoutParam );
495
495
}
496
496
497
- /*package*/ void addViewWithSubviewClippingEnabled (
498
- View child , int index , ViewGroup .LayoutParams params ) {
497
+ /*package*/ void addViewWithSubviewClippingEnabled (View child , int index , LayoutParams params ) {
499
498
Assertions .assertCondition (mRemoveClippedSubviews );
500
499
Assertions .assertNotNull (mClippingRect );
501
500
Assertions .assertNotNull (mAllChildren );
0 commit comments