()
| 38 | //implementation 'com.github.Justson:dispatch-queue:v1.0.5' |
| 39 | GlobalQueue.getMainQueue().postRunnableInIdleRunning(new Runnable() { |
| 40 | @Override |
| 41 | public void run() { |
| 42 | try { |
| 43 | startService(new Intent(App.this, WebService.class)); |
| 44 | } catch (Throwable throwable) { |
| 45 | |
| 46 | } |
| 47 | } |
| 48 | }); |
| 49 | } |
| 50 |