This screen is displayed at the end of the flow of creation any of the transactions. It contains the essential info about the transaction itself.
Figma: https://www.figma.com/file/dkDQHRa1zq7tU58MiL6hBR/SaFi---UI---MVP-(Shared)?node-id=13125%3A118416&t=uYL1LyEUSiWRThLT-0

TransactionResultsScreen is common for any type of transactions. But since the entities, responsible for gathering the data for each type of transactions is different, we came to the following approach to reuse the code:

The screen itself is built using TransactionResultsAdapter, which is in fact a UI model for this screen. There also is a TransactionResultsAdaptersFactory, which is responsible for transforming different transaction entities into TransactionResultsAdapter. This adapter is then passed to the TransactionResultsScreen, so it knows what data to display.

TransactionResultsScreen displays the large icon for the transaction status, some info below it like transaction id or reference code for OTC transactions, the list of instructions for OTC transactions, some essential info like beneficiary and amount, and Close button.

There also is a possibility to navigate to the TransactionDetailsScreen, which shows full information about the transaction

All the future transaction results should reuse this component.