Package com.adyen.checkout.action
Class GenericActionComponent
-
- All Implemented Interfaces:
-
com.adyen.checkout.action.internal.ActionHandlingComponent,com.adyen.checkout.components.core.internal.ActionComponent,com.adyen.checkout.components.core.internal.Component,com.adyen.checkout.components.core.internal.IntentHandlingComponent,com.adyen.checkout.components.core.internal.ResultHandlingComponent,com.adyen.checkout.ui.core.internal.ui.ViewableComponent
public final class GenericActionComponent extends ViewModel implements ActionComponent, ViewableComponent, IntentHandlingComponent, ActionHandlingComponent
An ActionComponent that is able to handle every action.
-
-
Field Summary
Fields Modifier and Type Field Description public final static ActionComponentProvider<GenericActionComponent, GenericActionConfiguration, GenericActionDelegate>PROVIDERprivate final ActionDelegatedelegateprivate final Flow<ComponentViewType>viewFlow
-
Method Summary
Modifier and Type Method Description ActionDelegategetDelegate()Flow<ComponentViewType>getViewFlow()-
Methods inherited from class com.adyen.checkout.components.core.internal.ActionComponent
canHandleAction, handleAction -
Methods inherited from class com.adyen.checkout.components.core.internal.IntentHandlingComponent
handleIntent -
Methods inherited from class androidx.lifecycle.ViewModel
addCloseable -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDelegate
ActionDelegate getDelegate()
-
getViewFlow
Flow<ComponentViewType> getViewFlow()
-
-
-
-