mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 06:43:56 +01:00 
			
		
		
		
	Show progress when uploading image (#4831)
This commit is contained in:
		
							parent
							
								
									b56fd4c220
								
							
						
					
					
						commit
						c6fda6dadb
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -123,6 +123,7 @@ public class ContributionViewHolder extends RecyclerView.ViewHolder { | |||
|                 if (transferred == 0 || transferred >= total) { | ||||
|                     progressView.setIndeterminate(true); | ||||
|                 } else { | ||||
|                     progressView.setIndeterminate(false); | ||||
|                     progressView.setProgress((int) (((double) transferred / (double) total) * 100)); | ||||
|                 } | ||||
|                 break; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Devarsh Mavani
						Devarsh Mavani