A simple app that uses SQL Triggers in Room. When we insert random number to "Number" table, TRIGGER updates the "Count" table. We are gonna observe "Count" table and display it in UI.
Room Trigger
A simple app that uses SQL Triggers in Room. When we insert random number to "Number" table, TRIGGER updates the "Count" table. We are gonna observe "Count" table and display it in UI.
Room Trigger