Package-level declarations

Types

Link copied to clipboard
@IviExperimental(reasons = [])
class AdaptiveFragmentHelper<T : Enum<T>>(fragment: Fragment, viewVariantSelector: (widthDp: Int, heightDp: Int) -> T, viewFactoryProvider: (T) -> IviFragment.ViewFactory<*>)

A helper class for fragments that change their view depending on the size that it's given, offering an adaptive UI.

Properties

Link copied to clipboard

Returns true if the fragment's root view is an adaptive stub view.

Functions

Link copied to clipboard

Returns a dp representation of the dimen value that the given attrRes refers to. Throws: IllegalArgumentException - if the given attribute cannot be found.