Retrofit2 and Room Code Sample Example code of simple use of Retrofit2 and Room in JetPackCompose 2025 API used Using Retrofit2 GET https://dummyjson.com/products Load a LazyColum with products that you can add to a Favorite List saved in Local Storage using Room GET https://dummyjson.com/products/search?q=text Load a LazyColum with products searched from API, you can add to a Favorite List too DataBase Room Add to Favorite List Remove from Favorite List