I initialize my local db connection, I get the value and assign it to the remaining integer of user object.
After that, when I try to get the remaining integer with method getRemaining it returns the default value, not changed one.
As far as I understand, my assignment in the initRemaining method assigns locally(in the blocks), how can I assign this primitive value as reference object?
It doesn't assign locally, it's just asynchronous
Обсуждают сегодня