In this chapter of the BMI Calculator application we are going to integrate Room, what is a persistent library. Using Room we can store the saved BMIs in SQL database and when we open the app, then they gonna be listed in the BmisFragment.
So, what we are going to do in this chapter is first to annotate the BMI data class, then we gonna create the DAO and the database. Thenafter we will start inserting the BMIs into the database, and finally get them back at startup of the app.
So, let’s start coding. 😎