library / com.nambimobile.widgets.efab / ExpandableFabLayout / removeAllViews

removeAllViews

fun removeAllViews(): Unit

Removes all child views in both portrait and landscape orientation from the ExpandableFabLayout.

This is the only correct way to remove views from your ExpandableFab widget should you choose to reuse the same ExpandableFabLayout instead of instantiating a new one. Using any other removeView variation will provide no guarantees of proper internal state control, and thus could potentially lead to Exceptions during runtime.