Update Room database after getting id, using java-rx chain
sorry if I come off as rude, but I'm just over it.. Basically I have a project where I'm making a trading android app. I'm stuck at buying an item. Here's the basic architecture. Room database that I access using dao, a repository, viewmodel which sets state for an object in livedata that i need in views. Since I don't really seem to understand how this chaining works and I'm incapable of finding anything that can help me I can only ask you guys here.
The idea is that on button click I will...