orhanobut / hawk

✔️ Secure, simple key-value storage for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible implementation for Observables/callbacks?

emanuelet opened this issue · comments

HI, I will be interested to know if there is any plan to have support for Observables and/or callbacks for the objects stored by Hawk.

I'm thinking also that the possibility of returning a LiveData object (from Architecture Components) will be quite powerful.

If not, do you have any suggestion on the best way to implement such functionality?

Thanks for your great work!

Hi, Hawk first version had Rx support but then I had to narrow the scope. So far the only way to support Rx or LiveData would be to use any wrapper around that.

Closing this issue for now, we can definitely re-open if needed