Created
December 31, 2019 06:57
-
-
Save ariefbayu/b640905fdfd6bd39396ade4681541a7d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OneTimeWorkRequest refreshWork = new OneTimeWorkRequest.Builder(ProcessingWorker.class).build(); | |
WorkManager.getInstance(getApplicationContext()).enqueueUniqueWork(PUSH_LOCATION_WORK_TAG, ExistingWorkPolicy.KEEP, refreshWork); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment