public final class DefaultPaymentMethodListViewFactory extends java.lang.Object implements PaymentMethodListViewFactory
PaymentMethodListViewFactory which uses a recycler view to
render the payment method list.PaymentMethodListViewFactory.PaymentMethodListViewListener| Constructor and Description |
|---|
DefaultPaymentMethodListViewFactory() |
| Modifier and Type | Method and Description |
|---|---|
DefaultPaymentMethodListView |
build(android.view.ViewGroup parent,
PaymentMethodListViewFactory.PaymentMethodListViewListener listener,
java.util.List<PaymentMethodConfiguration> paymentMethodConfigurations,
java.util.Map<PaymentMethodConfiguration,PaymentMethodIcon> icons)
This method is invoked to create a view which lists all the payment methods which the user
can use to pay with.
|
public DefaultPaymentMethodListView build(android.view.ViewGroup parent, PaymentMethodListViewFactory.PaymentMethodListViewListener listener, java.util.List<PaymentMethodConfiguration> paymentMethodConfigurations, java.util.Map<PaymentMethodConfiguration,PaymentMethodIcon> icons)
PaymentMethodListViewFactoryThe implementor does not need to add the view into the parent view. This is done
by the caller of the method.
build in interface PaymentMethodListViewFactoryparent - the parent view into which the created view is inserted
into.listener - the listener which allows to listen to events within the
view.paymentMethodConfigurations - the payment methods from which the user can select from.icons - the payment method icons which can be displayed along the
payment method name.