---
title: "Fermín (@FerSan) | Hashnode"
description: "Fermín (@FerSan) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@FerSan"
---

@FerSan

# Fermín

@FerSan · Joined April 2024

## Comments

[Hello, a very good article, I am trying to implement a "FirebaseMessagingService" with this code, but I cannot update the list of items in "ItemListScreen", I added this code when receiving a message: var appdatabase = AppModule.provideAppDatabase(applicationContext) var itemDao: ItemDao = AppModule.provideItemDao(appdatabase) var itemRepository: ItemRepository = AppModule.provideItemRepository(itemDao) itemRepository.insert(Item(name = "test")) but it doesn't work, could you tell me where I'm going wrong? Thank you so much.](https://hashnode.com/posts/compose-mvvm-roomdb-with-flow-and-di/65775000384e70d70d28ee8a/comment/662f7927f889238c52084a89)

Comment · Article · Apr 29, 2024 · [Compose MVVM RoomDB with Flow and DI](https://hashnode.com/posts/compose-mvvm-roomdb-with-flow-and-di/65775000384e70d70d28ee8a)
