Search code examples
androidrobospice

How to check is robospice loading some task


How to check is robospice load some task? There's method void addListenerIfPending(). It will be very great if the method returns boolean value to check should i set progress bar in activity either to loading state or not after recreating.

For clarify, imagine that i have an activity with button and progress bar. When user clicks on button progress bar changes its state to loading. If i rotate device while loading i should to set listener again and check is task loading for set progress bar state to loading


Solution

  • The feature is in progress: PR #383 (you can check issue #335 as well). I think it will be released with the next version, but there is no time estimation.