Guys someone help me please, i'am doing very fast update to the local database (room) the problem is sometimes the database is not updating, i tried viewModelLunch scope and dispatcher IO , any one can help or have idea please and thank you ..
You need to make a scope for database handling wider than your view model. For example, create a repository tied to app lifecycle. In this case your jobs will not be cancelled by narrow view model scopes.