Class FragmentComponentManager
java.lang.Object
dagger.hilt.android.internal.managers.FragmentComponentManager
- All Implemented Interfaces:
dagger.hilt.internal.GeneratedComponentManager<Object>
public class FragmentComponentManager
extends Object
implements dagger.hilt.internal.GeneratedComponentManager<Object>
Do not use except in Hilt generated code!
A manager for the creation of components that live in the Fragment.
Note: This class is not typed since its type in generated code is always <?> or
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic android.content.ContextWrappercreateContextWrapper(android.content.Context base, androidx.fragment.app.Fragment fragment) static android.content.ContextWrappercreateContextWrapper(android.view.LayoutInflater baseInflater, androidx.fragment.app.Fragment fragment) static final android.content.ContextfindActivity(android.content.Context context) static final voidinitializeArguments(androidx.fragment.app.Fragment fragment) Returns the fragments bundle, creating a new one if none exists.protected voidvalidate(androidx.fragment.app.Fragment fragment) Called immediately before component creation to allow validation on the Fragment.
-
Constructor Details
-
FragmentComponentManager
public FragmentComponentManager(androidx.fragment.app.Fragment fragment)
-
-
Method Details
-
generatedComponent
- Specified by:
generatedComponentin interfacedagger.hilt.internal.GeneratedComponentManager<Object>
-
initializeArguments
public static final void initializeArguments(androidx.fragment.app.Fragment fragment) Returns the fragments bundle, creating a new one if none exists. -
findActivity
public static final android.content.Context findActivity(android.content.Context context) -
createContextWrapper
public static android.content.ContextWrapper createContextWrapper(android.content.Context base, androidx.fragment.app.Fragment fragment) -
createContextWrapper
public static android.content.ContextWrapper createContextWrapper(android.view.LayoutInflater baseInflater, androidx.fragment.app.Fragment fragment) -
validate
protected void validate(androidx.fragment.app.Fragment fragment) Called immediately before component creation to allow validation on the Fragment.
-