mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +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() {
|
private void showPostUpload() {
|
||||||
if (categorizationFragment == null) {
|
if (categorizationFragment == null) {
|
||||||
categorizationFragment = new CategorizationFragment();
|
categorizationFragment = new CategorizationFragment();
|
||||||
|
|
@ -787,6 +790,7 @@ public class ShareActivity
|
||||||
return super.onOptionsItemSelected(item);
|
return super.onOptionsItemSelected(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO: Move this to a new class.
|
||||||
/*
|
/*
|
||||||
* Get SHA1 of file from input stream
|
* 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
|
* function to provide pinch zoom
|
||||||
*/
|
*/
|
||||||
|
|
@ -874,7 +879,7 @@ public class ShareActivity
|
||||||
expandedImageView.setImageBitmap(scaled);
|
expandedImageView.setImageBitmap(scaled);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Calculate the starting and ending bounds for the zoomed-in image.
|
// Calculate the starting and ending bounds for the zoomed-in image.
|
||||||
// This step involves lots of math. Yay, math.
|
// This step involves lots of math. Yay, math.
|
||||||
final Rect startBounds = new Rect();
|
final Rect startBounds = new Rect();
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
package fr.free.nrw.commons.upload;
|
package fr.free.nrw.commons.upload;
|
||||||
|
|
||||||
public class UploadUtils {
|
public class UploadUtils {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue