Duplicate :
|
|
Relates :
|
|
Relates :
|
FlowView keeps a layout pool of views that it is responsible for flowing into rows. When its current FlowStrategy lays out, it first calls removeAll() on the FlowView to remove any previous rows. Unfortunately, this removeAll() causes a setParent(null) on the rows which then trickles down to all of the views in the layout pool. This is undesirable since these views are going to be re-used and the setParent(null) can leave them in an inconsistent state (ie. without a parent).
|