Skip to content

Commit

Permalink
added support for notifications, in case a price changes
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoLuna5 committed Aug 22, 2020
1 parent 0d7b470 commit 76bcde0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public void onItemLongClick(View view, int position) {


public void periodicWork() {
PeriodicWorkRequest mRequest = new PeriodicWorkRequest.Builder(MyWorker.class, 6, TimeUnit.HOURS)
PeriodicWorkRequest mRequest = new PeriodicWorkRequest.Builder(MyWorker.class, 1, TimeUnit.HOURS)
.setConstraints(Constraints.NONE)
.build();

Expand Down

0 comments on commit 76bcde0

Please sign in to comment.