how to implement the room database library in new version catalog?

  Kiến thức lập trình

its showing me the error when, I am pasting the dependencies in the build . “Gradle. file”. how to solve this ?see the screenshot of it and please guide me what to do next to solve this problem

I convert it to the new version catalog. but it showing me this “Lifecycle” is not a valid keyword. What to do guide me ?

New contributor

Zuman Faizal is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT