setOrderingAsAdded

open fun setOrderingAsAdded(orderingAsAdded: Boolean)(source)

Whether to order the Preference children of this group as they are added. If this is false, the ordering will follow each Preference order and default to alphabetic for those without an order.

If this is called after preferences are added, they will not be re-ordered in the order they were added, hence call this method early on.

Parameters

orderingAsAdded

Whether to order according to the order added

See also