Room and Triggers

Developers asked for Google to offer first-class support for triggers back in 2017; this request was rejected.

However, another request is still open. That could be a sign that Room might support triggers directly in the future. Or, it could be a sign that the issue tracker has stale issues.

Regardless, as of Room 2.4.0, there is no @Trigger annotation to teach Room about triggers.

Instead, we have to do it the hard way.


Prev Table of Contents Next

This book is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license.