Back to project page Save-the-Planet.
The source code is released under:
Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software ...
If you think the Android project Save-the-Planet listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.karolmajta.stp.models; //from w ww . jav a2 s . co m public interface ITask { /** * Method used by callers to start task processing. */ public void launch(); /** * Body of the task end user will override. */ public void doIt(); /** * Callback that will get called after doIt finishes. With synchronous * task it means it gets called just after doIt(). With asynchronous * task it means that it gets called after the thread wrapping doIt * finishes, so calling launch is non blocking. */ public void then(); }