예제 #1
0
 @Override
 public void addView(ReactViewGroup parent, View child, int index) {
   boolean removeClippedSubviews = parent.getRemoveClippedSubviews();
   if (removeClippedSubviews) {
     parent.addViewWithSubviewClippingEnabled(child, index);
   } else {
     parent.addView(child, index);
   }
 }
예제 #2
0
 /*package*/ void addViewWithSubviewClippingEnabled(View child, int index) {
   addViewWithSubviewClippingEnabled(child, index, sDefaultLayoutParam);
 }