You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the progress bar in the SDK updater is set to indeterminate mode, because the getFraction() method in the ConsoleProgressIndicator object used in the query and download tasks returns 0.
My impression is that the current progress has to be set somehow using progress.setFraction(), so it can then can be retrieved with progress.getFraction().
The text was updated successfully, but these errors were encountered:
@codeanticode and @kfrajer , The getFraction function works . I'm not sure why this issue was raised , but it seems to be working fine. The setFraction method is taken care by the android libraries. So it does not pose a problem. The only issue is that the same consoleProgress object is used for 3 different process :
Loading the repo
Preparing the installer files and the install process itself
Completion of the install process
As a result of which, the progressBar would load from 0 ,three times. We could notify the user about these three stages via the status text on the updater.
Uh oh!
There was an error while loading. Please reload this page.
Right now, the progress bar in the SDK updater is set to indeterminate mode, because the getFraction() method in the ConsoleProgressIndicator object used in the query and download tasks returns 0.
This code from the Android Plugin for IntelliJ IDEA can help understanding more advanced users of the progress indicator and the download functionality:
My impression is that the current progress has to be set somehow using progress.setFraction(), so it can then can be retrieved with progress.getFraction().
The text was updated successfully, but these errors were encountered: