January 2020
Intermediate to advanced
530 pages
11h 11m
English
The ViewTransactions component renders the customer's transaction details on the screen. It allows the customers to choose whether if they want to see their incoming or outgoing transactions by rendering a menu bar with the Incoming and Outcoming buttons.
On clicking the Incoming button, the TransFlag state variable is set to 1, and all incoming transactions are displayed on the screen. On clicking the Outgoing button, the TransFlag state variable is set to 2, and all outgoing transactions are displayed on the screen.
At the code level, the ViewTransactions component first renders a menu bar with the Incoming Tx and Outgoing Tx buttons. On clicking the buttons, the TransSet() method is called with the ...
Read now
Unlock full access