Last active
August 29, 2015 14:06
-
-
Save Aracem/1ebbbfd16e76915d43f2 to your computer and use it in GitHub Desktop.
Revisions
-
Aracem renamed this gist
Sep 26, 2014 . 1 changed file with 10 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,13 @@ /** * Template to complete Jobs classes * * Declaration: Java - Declaration * Variables: * $CLASS$ expresion: className() defaultValue: Object * * Follow this instruction to add it to Android Studio * http://dmytrodanylyk.com/pages/blog/templates.html */ public $CLASS$() { super(new Params(Priority.HIGH).requireNetwork().groupBy("$CLASS$-job")); -
Aracem created this gist
Sep 26, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ public $CLASS$() { super(new Params(Priority.HIGH).requireNetwork().groupBy("$CLASS$-job")); } @Override public void onAdded() { } @Override public void onRun() throws Throwable { } @Override protected void onCancel() { } @Override protected boolean shouldReRunOnThrowable(Throwable throwable) { return false; }