Re: [SailfishDevel] Binding singleton values and network availablity

2019-08-31 Thread Thomas Tanghus
On 8/30/19 2:22 PM, Thomas Tanghus wrote: > Binding { > target: app > property: 'isOnline' > value: Env.isOnline > } > > Is there a way to have this binding without creating it explicitly? Having worked a bit with it, it's actually a handy way to wait for

[SailfishDevel] Binding singleton values and network availablity

2019-08-30 Thread Thomas Tanghus
With kind and subtle help from Coderus, I found ways to monitor network availability. To use it in different places of the project, I'm trying to make a singleton which holds relevant variables and states. That part actually works - almost. The singleton module(/object/class?): ;) Env.qml: pr