Package tangle.fragment

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class ContributesFragment(scope: KClass<*>, replaces: Array<KClass<*>>)
Link copied to clipboard
annotation class FragmentInject
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class FragmentInjectFactory
Link copied to clipboard
Link copied to clipboard
class TangleFragmentFactory(providerMap: Map<Class<out Fragment>, Provider<@JvmSuppressWildcards Fragment>>, assistedProviderMap: Map<Class<out Fragment>, Provider<@JvmSuppressWildcards Fragment>>) : FragmentFactory

Functions

Link copied to clipboard
inline fun <A> Fragment.arg(bundleKey: String): Lazy<A>

Lazily retrieve an argument passed to this fragment.

Link copied to clipboard
inline fun <A> Fragment.argOrNull(bundleKey: String): Lazy<A?>

Lazily retrieve an argument passed to this fragment. Returns null if: