replace
public void replace
(int offset, int length, View[] views)
Change the child views. This is implemented to provide the superclass behavior and invalidate the grid so that rows and columns will be recalculated.
- Overrides:
-
replace
in class BoxView
- Parameters:
-
offset
- the starting index into the child views to insert the new views; this should be a value >= 0 and <= getViewCount
-
length
- the number of existing child views to remove; This should be a value >= 0 and <= (getViewCount() - offset)
-
views
- the child views to add; this value can be null
to indicate no children are being added (useful to remove)