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.

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.