setAdapter

Set a new adapter to provide child views on demand.

When adapter is changed, all existing views are recycled back to the pool. If the pool has only one adapter, it will be cleared.

Parameters

adapter

The new adapter to set, or null to set no adapter.

See also