newInstance

public final OpenWithBottomSheet newInstance(PaymentProviderApp paymentProviderApp, OpenWithForwardListener listener, PaymentComponent paymentComponent, BackListener backListener, PaymentDetails paymentDetails, String paymentRequestId)

Create a new instance of the OpenWithBottomSheet.

Parameters

paymentProviderApp

the PaymentProviderApp which the user needs ti identify in the 'Share PDF' screen

listener

the OpenWithForwardListener which will forward requests

backListener

the BackListener which will forward back events