private void updateProgressWith(long currentPosition, long total) { progressListener.onProgressUpdate((int) (100.0 / total * currentPosition)); }
private void updateProgressWith(long currentPosition, long total) { progressListener.onProgressUpdate((int) (100.0 / total * currentPosition)); }