2019-02-18 20:00:23
I've been thinking about the problems with the android client and decided that the simplest solution is to have the client code not do network contact until needed and be clear about which methods block on network and which don't
Fireduck
2019-02-18 20:00:48
that way, the UI can load and allow the user to do things while waiting for the network calls for balance and such
Fireduck
2019-02-18 20:01:18
pretty obvious, but I got too used to fast and reliable networking and wasn
Fireduck
2019-02-18 20:01:21
't thinking about it
Fireduck
2019-02-18 21:55:41
yeah, it makes sense
Clueless
2019-02-18 21:56:25
a fuller solution would be an event based library, but as we don't have server->client notifications yet that is probably not called for
Fireduck
2019-02-18 22:37:52
android allows apps to have background services, just make one which polls and emits the events
Rotonen
2019-02-18 22:38:14
then later it can just switch the polling for subscription sockets
Rotonen