public class DefaultFailureViewFactory extends java.lang.Object implements FailureViewFactory
FailureViewFactory which provides a static view with the error
message.| Constructor and Description |
|---|
DefaultFailureViewFactory() |
| Modifier and Type | Method and Description |
|---|---|
android.view.View |
build(android.view.ViewGroup parent,
Transaction transaction)
This method is responsible to create the view which is shown to the customer when the
transaction is failing.
|
public android.view.View build(android.view.ViewGroup parent,
Transaction transaction)
FailureViewFactoryThe implementor does not have to add the created view into the parent.
The Transaction.getUserFailureMessage() describes in the user language what went
wrong.
build in interface FailureViewFactoryparent - the parent view into which the created view is integrated into.transaction - the transaction which is failed.