What is the best way to get progress from static non-Android class?
<p>I have an Android application which calls a long-lasting (several hours) static class method. This class is a general purpose class and should know nothing about Android and its API. My application obviously should display the progress of this action. What is the best way to organize interaction between <code>Activity</code> and this class? I consider defining some <code>IProgress</code> interface, implement it in <code>Activity</code> and let static class use it to update its status. But may be there is a better approach?</p>
