-
- All Implemented Interfaces:
public final class OrientationConfiguration
Holder for all the views of an ExpandableFab widget in a specific Orientation. Not meant to be instantiated by clients, as an instance can be retrieved via ExpandableFabLayout.portraitConfiguration or ExpandableFabLayout.landscapeConfiguration. Values for the views will only be populated after they are added through calls to ExpandableFabLayout's addView methods (or after they're defined via XML).
Implementation Notes:
Since the Kotlin 'internal' modifier translates to 'public' in Java, the JvmSynthetic annotation is used on those functions and properties to hide them from the published API for Java clients. A proper solution to this issue would be a package-private visibility modifier, but Kotlin has yet to implement it (https://youtrack.jetbrains.com/issue/KT-29227). Until then, the JvmSynthetic annotations should remain in order to present the proper published API to both Java & Kotlin clients.
-
-
Field Summary
Fields Modifier and Type Field Description private Overlay
overlay
private ExpandableFab
efab
private List<FabOption>
fabOptions
-
Constructor Summary
Constructors Constructor Description OrientationConfiguration()
-
Method Summary
Modifier and Type Method Description final Overlay
getOverlay()
The Overlay in this orientation. final ExpandableFab
getEfab()
The ExpandableFab in this orientation. final List<FabOption>
getFabOptions()
The FabOptions (with optional labels) in this orientation. -
-
Method Detail
-
getOverlay
final Overlay getOverlay()
The Overlay in this orientation. May be null.
-
getEfab
final ExpandableFab getEfab()
The ExpandableFab in this orientation. May be null.
-
getFabOptions
final List<FabOption> getFabOptions()
The FabOptions (with optional labels) in this orientation. May be empty.
To remove a FabOption from this orientation, simply call remove(FabOption) or remove(int) (the latter is named removeAt(int) in Kotlin).
-
-
-
-