Is it possible to provide a variable with hilt like an accesstoken? I receive it after logging in in the app, so basically I would provide an object with hilt and change the properties? But is that working?
I'd think the token would be persisted somewhere (encrypted on disk). The lazy provider would fetch would just fetch demand if available. If you want the be notified on all updates could inject an observable
You could also just inject a pojo with mutable state exposed via hilt as