mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Add TODOs and Javadocs
This commit is contained in:
parent
b1f777c674
commit
cf583c5a77
2 changed files with 9 additions and 1 deletions
|
|
@ -204,6 +204,9 @@ public class ShareActivity
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Starts CategorizationFragment after uploadBegins.
|
||||
*/
|
||||
private void showPostUpload() {
|
||||
if (categorizationFragment == null) {
|
||||
categorizationFragment = new CategorizationFragment();
|
||||
|
|
@ -787,6 +790,7 @@ public class ShareActivity
|
|||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
|
||||
//TODO: Move this to a new class.
|
||||
/*
|
||||
* Get SHA1 of file from input stream
|
||||
*/
|
||||
|
|
@ -826,6 +830,7 @@ public class ShareActivity
|
|||
}
|
||||
}
|
||||
|
||||
//TODO: Move this to a new class. Save references to the findViewByIds and pass them to the new method
|
||||
/*
|
||||
* function to provide pinch zoom
|
||||
*/
|
||||
|
|
@ -874,7 +879,7 @@ public class ShareActivity
|
|||
expandedImageView.setImageBitmap(scaled);
|
||||
|
||||
|
||||
|
||||
|
||||
// Calculate the starting and ending bounds for the zoomed-in image.
|
||||
// This step involves lots of math. Yay, math.
|
||||
final Rect startBounds = new Rect();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
package fr.free.nrw.commons.upload;
|
||||
|
||||
public class UploadUtils {
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue