com.getsensibill.ui.receipt.controllers.detail / ReceiptDetailActivity
ReceiptDetailActivity
open class ReceiptDetailActivity : DisplayToolbarActivity, SBReceiptDetailCallBack, SBReceiptDetailInterface, LifecycleObserver, Listener
Activity that will display the details of a receipt object.
Depending on the completeness (enhanced vs. not enhanced) of the receipt object, will use a different combination of fragments to display receipt information.
Fragments used:
- ReceiptDetailHeaderFragment
- EnhancedReceiptFragment
- FullScreenReceiptFragment
- OriginalReceiptFragment
This Activity also provides links to continue on to other receipt functionality:
- Delete the receipt
- Export the receipt
- Edit the receipt (EditReceiptActivity)
- Edit receipt reminders (if enabled) (ReminderSummaryActivity)
If this activity is launched, and the provided receipt is not validated (does not have the required data available), this Activity will directly launch EditReceiptActivity to prompt the user to fill out the required information
Intents to start this activity should be created with newIntent
Constructors
Name | Summary |
---|---|
<init> | ReceiptDetailActivity() Activity that will display the details of a receipt object. |
Companion Object Functions
Name | Summary |
---|---|
newIntent | fun newIntent(context: Context , receiptId: String ): Intent Create an intent to launch this activity |