public abstract class BraintreeViewController
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected BraintreePaymentActivity |
mActivity |
protected BraintreeFragment |
mBraintreeFragment |
protected PaymentRequest |
mPaymentRequest |
| Constructor and Description |
|---|
BraintreeViewController(BraintreePaymentActivity activity,
android.view.View root,
BraintreeFragment braintreeFragment,
PaymentRequest paymentRequest) |
| Modifier and Type | Method and Description |
|---|---|
<T extends android.view.View> |
findView(int id)
Concentrate casting View objects into one place for flexibility and convenience.
|
protected java.lang.String |
getCustomizedCallToAction() |
protected java.lang.String |
getSubmitButtonText() |
abstract void |
onSaveInstanceState(android.os.Bundle outState) |
protected BraintreePaymentActivity mActivity
protected final BraintreeFragment mBraintreeFragment
protected final PaymentRequest mPaymentRequest
public BraintreeViewController(BraintreePaymentActivity activity, android.view.View root, BraintreeFragment braintreeFragment, PaymentRequest paymentRequest)
public abstract void onSaveInstanceState(android.os.Bundle outState)
Activity.onSaveInstanceState(Bundle)protected java.lang.String getSubmitButtonText()
protected java.lang.String getCustomizedCallToAction()
public <T extends android.view.View> T findView(int id)